Verzeichnisstruktur phpBB-3.2.0


Veröffentlicht
06.01.2017

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.
Auf den Verzeichnisnamen klicken, dies zeigt nur das Verzeichnis mit Inhalt an

(Beispiel Datei-Icons)

Auf das Icon klicken um den Quellcode anzuzeigen

ServiceReferenceGraphEdge.php

Zuletzt modifiziert: 09.10.2024, 12:56 - Dateigröße: 1.44 KiB


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       * @param ServiceReferenceGraphNode $sourceNode
29       * @param ServiceReferenceGraphNode $destNode
30       * @param string                    $value
31       */
32      public function __construct(ServiceReferenceGraphNode $sourceNode, ServiceReferenceGraphNode $destNode, $value = null)
33      {
34          $this->sourceNode = $sourceNode;
35          $this->destNode = $destNode;
36          $this->value = $value;
37      }
38   
39      /**
40       * Returns the value of the edge.
41       *
42       * @return string
43       */
44      public function getValue()
45      {
46          return $this->value;
47      }
48   
49      /**
50       * Returns the source node.
51       *
52       * @return ServiceReferenceGraphNode
53       */
54      public function getSourceNode()
55      {
56          return $this->sourceNode;
57      }
58   
59      /**
60       * Returns the destination node.
61       *
62       * @return ServiceReferenceGraphNode
63       */
64      public function getDestNode()
65      {
66          return $this->destNode;
67      }
68  }
69