/**
  * @param Gate $gate
  */
 public function __construct(Gate $gate)
 {
     parent::__construct('gate');
     if (method_exists($gate, 'after')) {
         $gate->after([$this, 'addCheck']);
     }
 }
 public function __construct($path = null, $name = 'logs')
 {
     parent::__construct($name);
     $path = $path ?: $this->getLogsFile();
     $this->getStorageLogs($path);
 }
 /**
  * Create a new instance.
  */
 public function __construct()
 {
     parent::__construct('contao-autoloader');
     // We need the debug mode as otherwise the \ClassLoader will not log.
     $this->setDebugMode(true);
 }
 /**
  * Create a new instance.
  */
 public function __construct()
 {
     parent::__construct('event-dispatcher');
 }