Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.6] Remove monologConfigurator infrastructure completely #23078

Merged
merged 1 commit into from
Feb 8, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 0 additions & 40 deletions src/Illuminate/Foundation/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,13 +94,6 @@ class Application extends Container implements ApplicationContract, HttpKernelIn
*/
protected $deferredServices = [];

/**
* A custom callback used to configure Monolog.
*
* @var callable|null
*/
protected $monologConfigurator;

/**
* The custom database path defined by the developer.
*
Expand Down Expand Up @@ -1044,39 +1037,6 @@ public function provideFacades($namespace)
AliasLoader::setFacadeNamespace($namespace);
}

/**
* Define a callback to be used to configure Monolog.
*
* @param callable $callback
* @return $this
*/
public function configureMonologUsing(callable $callback)
{
$this->monologConfigurator = $callback;

return $this;
}

/**
* Determine if the application has a custom Monolog configurator.
*
* @return bool
*/
public function hasMonologConfigurator()
{
return ! is_null($this->monologConfigurator);
}

/**
* Get the custom Monolog configurator for the application.
*
* @return callable
*/
public function getMonologConfigurator()
{
return $this->monologConfigurator;
}

/**
* Get the current application locale.
*
Expand Down