/** * Method to reset assets * * @return boolean */ public function reset() { static::$containers = []; return true; }
/** * reset * @param string $profile * @return void */ public static function reset($profile = null) { if (!$profile) { static::$containers = array(); return; } static::$containers[$profile] = array(); return; }