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 |
ServiceReferenceGraphEdge.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\Compiler;
13
14 /**
15 * Represents an edge in your service graph.
16 *
17 * Value is typically a reference.
18 *
19 * @author Johannes M. Schmitt <schmittjoh@gmail.com>
20 */
21 class ServiceReferenceGraphEdge
22 {
23 private $sourceNode;
24 private $destNode;
25 private $value;
26
27 /**
28 * Constructor.
29 *
30 * @param ServiceReferenceGraphNode $sourceNode
31 * @param ServiceReferenceGraphNode $destNode
32 * @param string $value
33 */
34 public function __construct(ServiceReferenceGraphNode $sourceNode, ServiceReferenceGraphNode $destNode, $value = null)
35 {
36 $this->sourceNode = $sourceNode;
37 $this->destNode = $destNode;
38 $this->value = $value;
39 }
40
41 /**
42 * Returns the value of the edge
43 *
44 * @return ServiceReferenceGraphNode
45 */
46 public function getValue()
47 {
48 return $this->value;
49 }
50
51 /**
52 * Returns the source node
53 *
54 * @return ServiceReferenceGraphNode
55 */
56 public function getSourceNode()
57 {
58 return $this->sourceNode;
59 }
60
61 /**
62 * Returns the destination node
63 *
64 * @return ServiceReferenceGraphNode
65 */
66 public function getDestNode()
67 {
68 return $this->destNode;
69 }
70 }
71