protected function present($command, \ReflectionMethod $method, \ReflectionClass $class) {
        if ($method->isStatic())
            return;
        if ('action' !== substr($method->getName(), 0, 6))
            return;

        $params = $method->getParameters();

        echo $this->getRunPath() . ' ' . $command . " " . lcfirst(substr($method->getName(), 6));

        foreach ($params as $p)
            echo $this->paramDetails($p);
        if ($class->getDocComment()) {
            echo "\n" . $class->getDocComment();
        }
        echo "\n\n";
    }
protected function present($command, \ReflectionMethod $method, \ReflectionClass $class) {
        if ($method->isStatic())
            return;
        if ('action' !== substr($method->getName(), 0, 6))
            return;

        $params = $method->getParameters();

        echo $this->getRunPath() . ' ' . $command . " " . lcfirst(substr($method->getName(), 6));

        foreach ($params as $p)
            echo $this->paramDetails($p);
        if ($class->getDocComment()) {
            echo "\n" . $class->getDocComment();
        }
        echo "\n\n";
    }
protected function present ( $ command , \ ReflectionMethod $ method , \ ReflectionClass $ class ) { if ( $ method -> isStatic ( ) ) return ; if ( 'action' !== substr ( $ method -> getName ( ) , 0 , 6 ) ) return ; $ params = $ method -> getParameters ( ) ; echo $ this -> getRunPath ( ) . ' ' . $ command . " " . lcfirst ( substr ( $ method -> getName ( ) , 6 ) ) ; foreach ( $ params as $ p ) echo $ this -> paramDetails ( $ p ) ; if ( $ class -> getDocComment ( ) ) { echo "\n" . $ class -> getDocComment ( ) ; } echo "\n\n" ; }
Echo how an action can be called from cli command;
@param string $command
@param \ReflectionMethod $method
@return null
Echo how an action can be called from cli command ;