public function __construct(KernelInterface $kernel, $module) { parent::__construct($kernel); $this->module = (string) $module; // read the possible actions based on the files $this->setPossibleActions(); }