コード例 #1
0
ファイル: EventRunner.php プロジェクト: lavary/crunz
 /**
  * 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
ファイル: ErrorHandler.php プロジェクト: lavary/crunz
 /**
  * Catch Fatal Errors
  *
  */
 public function __construct()
 {
     $this->configurable();
     $this->logger = LoggerFactory::makeOne(['error' => $this->config('errors_log_file')]);
     $this->mailer = new Mailer();
 }