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 |
Scope.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\DependencyInjection;
13
14 /**
15 * Scope class.
16 *
17 * @author Johannes M. Schmitt <schmittjoh@gmail.com>
18 *
19 * @api
20 */
21 class Scope implements ScopeInterface
22 {
23 private $name;
24 private $parentName;
25
26 /**
27 * @api
28 */
29 public function __construct($name, $parentName = ContainerInterface::SCOPE_CONTAINER)
30 {
31 $this->name = $name;
32 $this->parentName = $parentName;
33 }
34
35 /**
36 * @api
37 */
38 public function getName()
39 {
40 return $this->name;
41 }
42
43 /**
44 * @api
45 */
46 public function getParentName()
47 {
48 return $this->parentName;
49 }
50 }
51