*/ class Js { /** * Constructor * * @param array $content The files to save to cache * @param string $cachefile The cache file name * @param object $manager The Factory object */ public function __construct($content, $cachefile, $manager) { $manager->cache->fs->set( $cachefile, $manager->createAsset( $content, $manager->getFilters() )->dump() ); } }