Model/TopCommand.php
protected function buildCommand()
    {
        $command = new Command(\Tivie\Command\ESCAPE);
        $command
            ->setCommand('top')
            ->addArgument(new Argument('-b'))
            ->addArgument(new Argument('-n', 1));

        return $command;
    }
protected function buildCommand()
    {
        $command = new Command(\Tivie\Command\ESCAPE);
        $command
            ->setCommand('top')
            ->addArgument(new Argument('-b'))
            ->addArgument(new Argument('-n', 1));

        return $command;
    }
protected function buildCommand ( ) { $ command = new Command ( \ Tivie \ Command \ ESCAPE ) ; $ command -> setCommand ( 'top' ) -> addArgument ( new Argument ( '-b' ) ) -> addArgument ( new Argument ( '-n' , 1 ) ) ; return $ command ; }
Build commit command

@return Command
@throws \Tivie\Command\Exception\Exception
@throws \Tivie\Command\Exception\InvalidArgumentException
Build commit command