src/PAGI/Node/NodeController.php
public function setAgiClient(IClient $client)
    {
        $this->client = $client;
        $this->logger = $this->client->getAsteriskLogger();
        return $this;
    }
public function setAgiClient(IClient $client)
    {
        $this->client = $client;
        $this->logger = $this->client->getAsteriskLogger();
        return $this;
    }
public function setAgiClient ( IClient $ client ) { $ this -> client = $ client ; $ this -> logger = $ this -> client -> getAsteriskLogger ( ) ; return $ this ; }
Sets the pagi client to use by this node.

@param \PAGI\Client\IClient $client

@return NodeController
Sets the pagi client to use by this node .