public function getMessages($fullnames = false) {

		if(false === is_bool($fullnames)) {
			return trigger_error(sprintf('Argument 1 passed to %s() must be of the type boolean, "%s" given', __METHOD__, gettype($fullnames)), E_USER_ERROR);
		}

		$instance = $this -> getMessageInstance();
		return $instance :: getErrors($fullnames);
	}
public function getMessages($fullnames = false) {

		if(false === is_bool($fullnames)) {
			return trigger_error(sprintf('Argument 1 passed to %s() must be of the type boolean, "%s" given', __METHOD__, gettype($fullnames)), E_USER_ERROR);
		}

		$instance = $this -> getMessageInstance();
		return $instance :: getErrors($fullnames);
	}
public function getMessages ( $ fullnames = false ) { if ( false === is_bool ( $ fullnames ) ) { return trigger_error ( sprintf ( 'Argument 1 passed to %s() must be of the type boolean, "%s" given' , __METHOD__ , gettype ( $ fullnames ) ) , E_USER_ERROR ) ; } $ instance = $ this -> getMessageInstance ( ) ; return $ instance :: getErrors ( $ fullnames ) ; }
Returns all the messages
@param boolean $fullname
@return array
Returns all the messages