public function supports($resource, $type = null) { return 'contao_frontend' === $type; }
/** * Tests the supports() method. */ public function testSupports() { $loader = new FrontendLoader(false); $this->assertTrue($loader->supports('.', 'contao_frontend')); }