PHP code example of bigwhoop / php-extract-class-components

1. Go to this page and download the library: Download bigwhoop/php-extract-class-components library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

bigwhoop / php-extract-class-components example snippets


class Example
{
    private $a;
    private $b;
    private $c;
    
    public function a(): void
    {
        $this->a;
    }
    
    public function ab(): void
    {
        $this->a;
        $this->b;
    }
    
    public function c(): void
    {}
}
shell
vendor/bin/php-class-components-extractor Path/To/Your/Class.php