protected static function parseLocation($location)
	{
		if (is_string($location))
		{
			$locationName  = self::getMountNameFromPath($location);
			$locationMount = self::findMountByName($locationName);
		}
		else
		{
			$locationName  = uniqid('', true);
			$locationMount = $location->getAdapter();
			$location      = $locationName . '://' . $location->getPath();
		}

		return [$location, $locationName, $locationMount];
	}
protected static function parseLocation($location)
	{
		if (is_string($location))
		{
			$locationName  = self::getMountNameFromPath($location);
			$locationMount = self::findMountByName($locationName);
		}
		else
		{
			$locationName  = uniqid('', true);
			$locationMount = $location->getAdapter();
			$location      = $locationName . '://' . $location->getPath();
		}

		return [$location, $locationName, $locationMount];
	}
protected static function parseLocation ( $ location ) { if ( is_string ( $ location ) ) { $ locationName = self :: getMountNameFromPath ( $ location ) ; $ locationMount = self :: findMountByName ( $ locationName ) ; } else { $ locationName = uniqid ( '' , true ) ; $ locationMount = $ location -> getAdapter ( ) ; $ location = $ locationName . '://' . $ location -> getPath ( ) ; } return [ $ location , $ locationName , $ locationMount ] ; }
Parses the location input into mount and mount names

@param   mixed  $location  The location to parse
@return  array
Parses the location input into mount and mount names