static public function clear( $id = null, $path = null )
	{
		if( $id !== null )
		{
			if( $path !== null ) {
				self::$_controllers[$id][$path] = null;
			} else {
				self::$_controllers[$id] = array();
			}

			return;
		}

		self::$_controllers = array();
	}
static public function clear( $id = null, $path = null )
	{
		if( $id !== null )
		{
			if( $path !== null ) {
				self::$_controllers[$id][$path] = null;
			} else {
				self::$_controllers[$id] = array();
			}

			return;
		}

		self::$_controllers = array();
	}
static public function clear ( $ id = null , $ path = null ) { if ( $ id !== null ) { if ( $ path !== null ) { self :: $ _controllers [ $ id ] [ $ path ] = null ; } else { self :: $ _controllers [ $ id ] = array ( ) ; } return ; } self :: $ _controllers = array ( ) ; }
Removes all controller objects from the cache.

If neither a context ID nor a path is given, the complete cache will be pruned.

@param integer $id Context ID the objects have been created with (string of MShop_Context_Item_Interface)
@param string $path Path describing the controller to clear, e.g. "basket"
Removes all controller objects from the cache .