AppserverIo\Appserver\Core\Commands\ModeCommand::execute PHP Method

execute() public method

Executes the command.
See also: AppserverIo\Appserver\Core\Commands\CommandInterface::execute()
public execute ( array $params = [] ) : mixed | null
$params array The arguments passed to the command
return mixed | null The result of the command
    public function execute(array $params = array())
    {
        $this->applicationServer->mode($this->connection, array_shift($params));
    }