Exemplo n.º 1
0
 /**
  * {@inheritdoc}
  * @param string               $name
  * @param array                $config
  * @param FactoryInterface     $factory
  * @param HippocampusInterface $memory
  */
 public function __construct($name, array $config, FactoryInterface $factory = null, HippocampusInterface $memory = null)
 {
     parent::__construct($name, $config, $factory);
     $this->memory = $memory;
 }
Exemplo n.º 2
0
 /**
  * {@inheritdoc}
  * @param ContainerInterface   $container
  * @param HippocampusInterface $memory
  * @param string               $name
  * @param array                $config
  */
 public function __construct(ContainerInterface $container, HippocampusInterface $memory, $name, array $config)
 {
     parent::__construct($container, $name, $config);
     $this->memory = $memory;
 }