public function getMessageCount($type)
	{
		switch ($type)
		{
			case Output::FATAL:
				return sizeof($this->fatals);
			case Output::ERROR:
				return sizeof($this->errors);
			case Output::WARNING:
				return sizeof($this->warnings);
			case Output::NOTICE:
				return sizeof($this->notices);
		}
		return 0;
	}
public function getMessageCount($type)
	{
		switch ($type)
		{
			case Output::FATAL:
				return sizeof($this->fatals);
			case Output::ERROR:
				return sizeof($this->errors);
			case Output::WARNING:
				return sizeof($this->warnings);
			case Output::NOTICE:
				return sizeof($this->notices);
		}
		return 0;
	}
public function getMessageCount ( $ type ) { switch ( $ type ) { case Output :: FATAL : return sizeof ( $ this -> fatals ) ; case Output :: ERROR : return sizeof ( $ this -> errors ) ; case Output :: WARNING : return sizeof ( $ this -> warnings ) ; case Output :: NOTICE : return sizeof ( $ this -> notices ) ; } return 0 ; }
Get the amount of messages that were fatal.
@param int $type
@return int
Get the amount of messages that were fatal .