PHPDaemon\Clients\Mongo\Collection::__construct PHP Method

__construct() public method

Contructor of MongoClientAsyncCollection
public __construct ( string $name, Pool $pool ) : void
$name string Name of collection
$pool Pool Pool
return void
    public function __construct($name, $pool)
    {
        $this->name = $name;
        $this->pool = $pool;
    }