コード例 #1
0
 /**
  * Constructor.
  *
  * @param \Symfony\Component\DependencyInjection\ContainerInterface $container
  */
 public function __construct(ContainerInterface $container)
 {
     parent::__construct($container);
 }
コード例 #2
0
 /**
  * Constructor.
  *
  * @param ContainerInterface $container
  */
 public function __construct(ContainerInterface $container)
 {
     parent::__construct($container);
     $this->path_json_file = $container->getParameter("kernel.root_dir") . "/cachesfynx/heritage.json";
 }