diff options
Diffstat (limited to 'src/Configuration.php')
-rw-r--r-- | src/Configuration.php | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/Configuration.php b/src/Configuration.php index fcb22f9..a5ad2da 100644 --- a/src/Configuration.php +++ b/src/Configuration.php @@ -2,6 +2,7 @@ namespace andreskrey\Readability; +use Psr\Log\LoggerAwareTrait; use Psr\Log\LoggerInterface; use Psr\Log\NullLogger; @@ -10,6 +11,8 @@ use Psr\Log\NullLogger; */ class Configuration { + use LoggerAwareTrait; + /** * @var int */ @@ -73,14 +76,6 @@ class Configuration } /** - * @param LoggerInterface $logger - */ - public function setLogger($logger) - { - $this->logger = $logger; - } - - /** * @return int */ public function getMaxTopCandidates() |