/** * @param Config $config */ public function __construct(Config $config) { $this->config = $config; // Set up logging $this->log = new Logger('GeoPalMap'); $this->log->pushHandler(new StreamHandler($this->config->getLogFilePath(), Logger::WARNING)); }