public function execute(Command $command, Api $api) { $success = $api->prepare($command, $this)->send(); if ($success === FALSE) { return false; } return $api->getResponse(); }