public function additionalArgs(array $args) : void
    {
        foreach ($args as $a) {
            //match --extends
            if (substr($a, 0, strlen("--extends=")) == "--extends=") {
                $this->extends = explode("=", $a);
                $this->extends = $this->extends[1];
                continue;
            }

            if ($a == "--no-factory") {
                $this->createFactory = false;
                continue;
            }

            if (substr($a, 0, strlen("--test=")) == "--test=") {
                $this->test = explode("=", $a)[1];
                continue;
            }
        }
    }
public function additionalArgs(array $args) : void
    {
        foreach ($args as $a) {
            //match --extends
            if (substr($a, 0, strlen("--extends=")) == "--extends=") {
                $this->extends = explode("=", $a);
                $this->extends = $this->extends[1];
                continue;
            }

            if ($a == "--no-factory") {
                $this->createFactory = false;
                continue;
            }

            if (substr($a, 0, strlen("--test=")) == "--test=") {
                $this->test = explode("=", $a)[1];
                continue;
            }
        }
    }
public function additionalArgs ( array $ args ) : void { foreach ( $ args as $ a ) { //match --extends if ( substr ( $ a , 0 , strlen ( "--extends=" ) ) == "--extends=" ) { $ this -> extends = explode ( "=" , $ a ) ; $ this -> extends = $ this -> extends [ 1 ] ; continue ; } if ( $ a == "--no-factory" ) { $ this -> createFactory = false ; continue ; } if ( substr ( $ a , 0 , strlen ( "--test=" ) ) == "--test=" ) { $ this -> test = explode ( "=" , $ a ) [ 1 ] ; continue ; } } }
Evaluate optional additional args

@param array $args
@return void
Evaluate optional additional args