public function logger($instance = null) { if ($instance === null) { return $this->_logger; } $this->_logger = $instance; }