Phalcon\Db\Adapter\MongoDB\GridFS\StreamWrapper::initProtocol PHP Метод

initProtocol() приватный Метод

Initialize the protocol from the given path.
См. также: StreamWrapper::stream_open()
private initProtocol ( string $path )
$path string
    private function initProtocol($path)
    {
        $parts = explode('://', $path, 2);
        $this->protocol = $parts[0] ?: 'gridfs';
    }