You are here

function MongoFile::__construct in One Click Upload 7.2

Constructor

Parameters

ConfigInterface $config:

RequestInterface $request:

Overrides File::__construct

File

flowphp/src/Flow/Mongo/MongoFile.php, line 28

Class

MongoFile
Notes:

Namespace

Flow\Mongo

Code

function __construct(MongoConfigInterface $config, RequestInterface $request = null) {
  if ($request === null) {
    $request = new Request();
  }
  parent::__construct($config, $request);
  $this->config = $config;
}