diff options
author | Andres Rey <[email protected]> | 2018-03-15 21:30:04 +0000 |
---|---|---|
committer | Andres Rey <[email protected]> | 2018-03-15 21:31:16 +0000 |
commit | 4169eab52608b92dfbc705b7b93ce85bac8a1eb1 (patch) | |
tree | 1f21b2b39feb2b931f0ba2bd9493a4bf965cddf0 | |
parent | f05d753620e1039d77030a955ce63013b1d5196b (diff) |
Override setLogger function to be able to return configuration object
-rw-r--r-- | src/Configuration.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/Configuration.php b/src/Configuration.php index de3d16a..b7f1f85 100644 --- a/src/Configuration.php +++ b/src/Configuration.php @@ -68,6 +68,18 @@ class Configuration } /** + * @param LoggerInterface $logger + * + * @return Configuration + */ + public function setLogger(LoggerInterface $logger) + { + $this->logger = $logger; + + return $this; + } + + /** * @return int */ public function getMaxTopCandidates() |