public function getFormatter() { if (!is_object($this->_formatter)) { $this->_formatter = new LineFormatter(); } return $this->_formatter; }