[ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Summary view] [Print] [Text view]
1 <?php 2 3 /* 4 * This file is part of the Symfony package. 5 * 6 * (c) Fabien Potencier <fabien@symfony.com> 7 * 8 * For the full copyright and license information, please view the LICENSE 9 * file that was distributed with this source code. 10 */ 11 12 namespace Symfony\Component\Config\Loader; 13 14 /** 15 * LoaderInterface is the interface implemented by all loader classes. 16 * 17 * @author Fabien Potencier <fabien@symfony.com> 18 */ 19 interface LoaderInterface 20 { 21 /** 22 * Loads a resource. 23 * 24 * @param mixed $resource The resource 25 * @param string|null $type The resource type or null if unknown 26 * 27 * @throws \Exception If something went wrong 28 */ 29 public function load($resource, $type = null); 30 31 /** 32 * Returns whether this class supports the given resource. 33 * 34 * @param mixed $resource A resource 35 * @param string|null $type The resource type or null if unknown 36 * 37 * @return bool True if this class supports the given resource, false otherwise 38 */ 39 public function supports($resource, $type = null); 40 41 /** 42 * Gets the loader resolver. 43 * 44 * @return LoaderResolverInterface A LoaderResolverInterface instance 45 */ 46 public function getResolver(); 47 48 /** 49 * Sets the loader resolver. 50 */ 51 public function setResolver(LoaderResolverInterface $resolver); 52 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |