Alcaeus\MongoDbAdapter\Tests\Mongo\MongoGridFSFileTest::getGridFS PHP 메소드

getGridFS() 보호된 메소드

protected getGridFS ( string $name = 'testfs', MongoDB $database = null ) : MongoGridFS
$name string
$database MongoDB
리턴 MongoGridFS
    protected function getGridFS($name = 'testfs', \MongoDB $database = null)
    {
        if ($database === null) {
            $database = $this->getDatabase();
        }
        return new \MongoGridFS($database, $name);
    }