/** * @param LoggerInterface $log */ public function __construct(LoggerInterface $log) { parent::__construct($log); $this->integration = new LaravelIntegration(); $this->renderContainer = new RendererContainer($this->integration); $this->registerCustomExceptions(); }
/** * @param LoggerInterface $log */ public function __construct(LoggerInterface $log) { parent::__construct($log); $this->integration = new LaravelIntegration(); $extensionsClosure = function () { /** @var SupportedExtensionsInterface $supportedExtensions */ $supportedExtensions = app()->resolved(SupportedExtensionsInterface::class) === false ? null : app()->make(SupportedExtensionsInterface::class); return $supportedExtensions; }; $this->renderContainer = new RenderContainer(new Factory(), $this->integration, $extensionsClosure); $this->registerCustomExceptions(); }
public function __construct(MSApplicationInsightsHelpers $msApplicationInsightsHelpers, LoggerInterface $log) { $this->msApplicationInsightsHelpers = $msApplicationInsightsHelpers; parent::__construct($log); }
/** * @param LoggerInterface $log * @param ResponseFactory $responseFactory */ public function __construct(LoggerInterface $log, ResponseFactory $responseFactory) { parent::__construct($log); $this->responseFactory = $responseFactory; }
public function __construct(LoggerInterface $log, CorsService $corsService) { parent::__construct($log); $this->corsService = $corsService; }
/** * Handler constructor. * @param \Psr\Log\LoggerInterface $log * @param \Illuminate\Mail\Mailer $mailer */ public function __construct(LoggerInterface $log, Mailer $mailer) { parent::__construct($log); $this->mailer = $mailer; }
/** * Create a new exception handler instance. * * @param \Illuminate\Contracts\Container\Container $container * * @return void */ public function __construct(Container $container) { $this->config = $container->config->get('exceptions', []); $this->container = $container; parent::__construct($container->make(LoggerInterface::class)); }
public function __construct(Builder $viewBuilder, LoggerInterface $log) { $this->viewBuilder = $viewBuilder; parent::__construct($log); }
/** * Create a new exception handler instance. * * @param Container $container */ public function __construct(Container $container) { parent::__construct($container); $this->mergeConfiguredDontReportExceptions(); }
public function __construct(LoggerInterface $log, JsonRespond $jsonRespond) { parent::__construct($log); $this->jsonRespond = $jsonRespond; }
public function __construct(LoggerInterface $log) { parent::__construct(app()); $this->isDebug = config('app.debug'); }
/** * Controller constructor. * * @param \Psr\Log\LoggerInterface $log * @param \Eos\Exceptions\Factory $factory */ public function __construct(LoggerInterface $log, Factory $factory) { parent::__construct($log); $this->factory = $factory; }