__construct() public method

Injects an initializer for injecting controllers with an event manager and plugin manager.
public __construct ( $configOrContainerInstance, array $v3config = [] )
$v3config array
Example #1
0
 /**
  * @param ContainerInterface $container
  * @param ConfigInterface $configuration
  */
 public function __construct(ContainerInterface $container, ConfigInterface $configuration = null)
 {
     $this->container = $container;
     parent::__construct($configuration);
 }