Seditio Source
Root |
./othercms/croogo-4.0.7/vendor/phpunit/phpunit/tests/_files/MyCommand.php
<?php
use PHPUnit\TextUI\Command;

class
MyCommand extends Command
{
    public function
__construct()
    {
       
$this->longOptions['my-option='] = 'myHandler';
       
$this->longOptions['my-other-option'] = null;
    }

    public function
myHandler($value)
    {
        echo
__METHOD__ . " $value\n";
    }
}