Verzeichnisstruktur phpBB-3.1.0
- Veröffentlicht
- 27.10.2014
So funktioniert es
|
Auf das letzte Element klicken. Dies geht jeweils ein Schritt zurück |
Auf das Icon klicken, dies öffnet das Verzeichnis. Nochmal klicken schließt das Verzeichnis. |
|
(Beispiel Datei-Icons)
|
Auf das Icon klicken um den Quellcode anzuzeigen |
Extension.php
01 <?php
02
03 /*
04 * This file is part of the Symfony package.
05 *
06 * (c) Fabien Potencier <fabien@symfony.com>
07 *
08 * For the full copyright and license information, please view the LICENSE
09 * file that was distributed with this source code.
10 */
11
12 namespace Symfony\Component\HttpKernel\DependencyInjection;
13
14 use Symfony\Component\DependencyInjection\Extension\Extension as BaseExtension;
15
16 /**
17 * Allow adding classes to the class cache.
18 *
19 * @author Fabien Potencier <fabien@symfony.com>
20 */
21 abstract class Extension extends BaseExtension
22 {
23 private $classes = array();
24
25 /**
26 * Gets the classes to cache.
27 *
28 * @return array An array of classes
29 */
30 public function getClassesToCompile()
31 {
32 return $this->classes;
33 }
34
35 /**
36 * Adds classes to the class cache.
37 *
38 * @param array $classes An array of classes
39 */
40 public function addClassesToCompile(array $classes)
41 {
42 $this->classes = array_merge($this->classes, $classes);
43 }
44 }
45