src/eMacros/Environment/Environment.php
protected static function symbol($symbol) {
		if ($symbol instanceof Symbol)
			return [$symbol->symbol, $symbol->package];
	
		throw new \UnexpectedValueException(sprintf("Unexpected value of type '%s'.", is_object($symbol) ? get_class($symbol) : gettype($symbol)));
	}
protected static function symbol($symbol) {
		if ($symbol instanceof Symbol)
			return [$symbol->symbol, $symbol->package];
	
		throw new \UnexpectedValueException(sprintf("Unexpected value of type '%s'.", is_object($symbol) ? get_class($symbol) : gettype($symbol)));
	}
protected static function symbol ( $ symbol ) { if ( $ symbol instanceof Symbol ) return [ $ symbol -> symbol , $ symbol -> package ] ; throw new \ UnexpectedValueException ( sprintf ( "Unexpected value of type '%s'." , is_object ( $ symbol ) ? get_class ( $ symbol ) : gettype ( $ symbol ) ) ) ; }
Validates a aymbol
@param \eMacros\Symbol $symbol
@throws \UnexpectedValueException
@return array
Validates a aymbol