public static function cache( $value, $name, $delimiter = null )
	{
		if( $value === '' )
		{
			return $value;
		}

		$func = $name;
		$arg2 = $name == "snake";

		if( $arg2 )
		{
			if( is_null($delimiter) )
			{
				$delimiter = "_";
			}
		}
		else if( ($arg2 = $arg2 == "ascii") )
		{
			if( is_null($delimiter) )
			{
				$delimiter = "en";
			}
		}

		if( $arg2 )
		{
			$name .= $delimiter;
		}

		if( isset(self::$cache[$name][$value]) )
		{
			return self::$cache[$name][$value];
		}

		return self::$cache[$name][$value] = ( $func == "snake" ? static::snake($value, $delimiter) : static::$func($value) );
	}
public static function cache( $value, $name, $delimiter = null )
	{
		if( $value === '' )
		{
			return $value;
		}

		$func = $name;
		$arg2 = $name == "snake";

		if( $arg2 )
		{
			if( is_null($delimiter) )
			{
				$delimiter = "_";
			}
		}
		else if( ($arg2 = $arg2 == "ascii") )
		{
			if( is_null($delimiter) )
			{
				$delimiter = "en";
			}
		}

		if( $arg2 )
		{
			$name .= $delimiter;
		}

		if( isset(self::$cache[$name][$value]) )
		{
			return self::$cache[$name][$value];
		}

		return self::$cache[$name][$value] = ( $func == "snake" ? static::snake($value, $delimiter) : static::$func($value) );
	}
public static function cache ( $ value , $ name , $ delimiter = null ) { if ( $ value === '' ) { return $ value ; } $ func = $ name ; $ arg2 = $ name == "snake" ; if ( $ arg2 ) { if ( is_null ( $ delimiter ) ) { $ delimiter = "_" ; } } else if ( ( $ arg2 = $ arg2 == "ascii" ) ) { if ( is_null ( $ delimiter ) ) { $ delimiter = "en" ; } } if ( $ arg2 ) { $ name .= $ delimiter ; } if ( isset ( self :: $ cache [ $ name ] [ $ value ] ) ) { return self :: $ cache [ $ name ] [ $ value ] ; } return self :: $ cache [ $ name ] [ $ value ] = ( $ func == "snake" ? static :: snake ( $ value , $ delimiter ) : static :: $ func ( $ value ) ) ; }
Read the given string from cache or convert to needle case and save to cache.

@param string $value
@param string $name
@param string $delimiter used only snake case
@return string
Read the given string from cache or convert to needle case and save to cache .