Adldap\Search\Factory::setConnection PHP Method

setConnection() public method

Sets the connection property.
public setConnection ( Adldap\Connections\ConnectionInterface $connection ) : Factory
$connection Adldap\Connections\ConnectionInterface
return Factory
    public function setConnection(ConnectionInterface $connection)
    {
        $this->connection = $connection;
        return $this;
    }