__construct() public method

Constructor
public __construct ( flow\ConfigInterface $config, flow\RequestInterface $request = null )
$config flow\ConfigInterface
$request flow\RequestInterface
Example #1
0
 function __construct(MongoConfigInterface $config, RequestInterface $request = null)
 {
     if ($request === null) {
         $request = new Request();
     }
     parent::__construct($config, $request);
     $this->config = $config;
 }