PHPDaemon\Clients\Mongo\Collection::__construct PHP Méthode

__construct() public méthode

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