Kraken\Runtime\Command\Command::execute PHP Method

execute() public method

public execute ( $params = [] )
    public function execute($params = [])
    {
        $promise = Promise::doResolve($params);
        return $promise->then(function ($params) {
            return $this->command($params);
        });
    }