示例#1
0
 /**
  * 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();
 }
示例#2
0
 /**
  * Catch Fatal Errors
  *
  */
 public function __construct()
 {
     $this->configurable();
     $this->logger = LoggerFactory::makeOne(['error' => $this->config('errors_log_file')]);
     $this->mailer = new Mailer();
 }