public static function getErrors($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);
		}

		if(true === $fullnames) {
			return static :: $errors['full'];
		}

		return static :: $errors['short'];
	}
public static function getErrors($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);
		}

		if(true === $fullnames) {
			return static :: $errors['full'];
		}

		return static :: $errors['short'];
	}
public static function getErrors ( $ 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 ) ; } if ( true === $ fullnames ) { return static :: $ errors [ 'full' ] ; } return static :: $ errors [ 'short' ] ; }
Returns all errors
@param boolean $fullnames
@return array
Returns all errors