/** * Instantiate the event runner * */ public function __construct() { $this->configurable(); // Create an insance of the Logger $this->logger = LoggerFactory::makeOne(['info' => $this->config('output_log_file'), 'error' => $this->config('errors_log_file')]); // Initializing the invoker $this->invoker = new Invoker(); // Initializing the invoker $this->mailer = new Mailer(); }
/** * Catch Fatal Errors * */ public function __construct() { $this->configurable(); $this->logger = LoggerFactory::makeOne(['error' => $this->config('errors_log_file')]); $this->mailer = new Mailer(); }