| 123456789101112131415161718192021222324252627282930313233343536 | <?php namespace System;class Asset {	/**	 * All of the asset containers.	 *	 * @var array	 */	public static $containers = array();	/**	 * Get an asset container instance.	 *	 * @param  string     $container	 * @return Container	 */	public static function container($container = 'default')	{		if ( ! isset(static::$containers[$container]))		{			static::$containers[$container] = new Asset\Container($container);		}		return static::$containers[$container];	}	/**	 * Magic Method for calling methods on the default Asset container.	 */	public static function __callStatic($method, $parameters)	{		return call_user_func_array(array(static::container(), $method), $parameters);	}}
 |