public function __construct(Client $client, $action) { $this->client = $client; $this->action = $action; }