* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\DependencyInjection\Compiler; /** * Represents an edge in your service graph. * * Value is typically a reference. * * @author Johannes M. Schmitt */ class ServiceReferenceGraphEdge { private $sourceNode; private $destNode; private $value; private $lazy; private $weak; /** * @param ServiceReferenceGraphNode $sourceNode * @param ServiceReferenceGraphNode $destNode * @param mixed $value * @param bool $lazy * @param bool $weak */ public function __construct(ServiceReferenceGraphNode $sourceNode, ServiceReferenceGraphNode $destNode, $value = null, $lazy = false, $weak = false) { $this->sourceNode = $sourceNode; $this->destNode = $destNode; $this->value = $value; $this->lazy = $lazy; $this->weak = $weak; } /** * Returns the value of the edge. * * @return string */ public function getValue() { return $this->value; } /** * Returns the source node. * * @return ServiceReferenceGraphNode */ public function getSourceNode() { return $this->sourceNode; } /** * Returns the destination node. * * @return ServiceReferenceGraphNode */ public function getDestNode() { return $this->destNode; } /** * Returns true if the edge is lazy, meaning it's a dependency not requiring direct instantiation. * * @return bool */ public function isLazy() { return $this->lazy; } /** * Returns true if the edge is weak, meaning it shouldn't prevent removing the target service. * * @return bool */ public function isWeak() { return $this->weak; } } __halt_compiler();----SIGNATURE:----TIlIsYcB/9nVKgWHINt7zfvc/YwyCyjwwZa46TbFKyBTygi7dfbZAvsU43Nxs1EZ3n2Q06lA0WK7nD6cWTiwvnqnJBs1mZFO7Mvrz2z01VZTK9FXnofP6A8dch5DaP5duRwy7tS7SSk2t/8y6nPlxhnp0quxLgKkS1MmQ5gAQFJn0kWl1Ns7gNrOdnNnG1YPQxgwEBvqSSqIWrYGG4imfMHeevq9MZa+JTUSyU8kfWxxY1Sm9t+7JGjGxusuNIJw+p4kuai/lCiT2gr7ULRQ16mofKeKZTcSYkG/mGZhcutp1NxnxXWXyheMlcn6bGMXvxceOaqyTqOav0sewTGGryhZ2Vg13NJF2QbKdHaoBIOH+Ki5ZZzUukPaM3GVO1vtWaeWNHZEskuPzUd2IVEUCJDNn+ZzP+4IirLY8cW9A+jF9IBLQznCMQvwyUhLyh1L5vTIVILysq4cr6CEKjphsVuI7gm7fe7w4t0Kp8FRCO/fS+lR0ZHh8gs97pfdYIburFDpE8VpS9iWqkKqkJFgUsJUEyPurjLIQOVCBz2yam1cIGlMc95sMa0SZX5AQutHhjvnW6N1ZDJUjr6DF9NpguqZMFvvfKnu0DErEKmX4w0o7L5ywG63UXKT5VpsPIxSrpDPhXjUxiC7pF7gTYB0yjwQsSH+UppYk3dBBVkejFI=----ATTACHMENT:----MjkyMDAwOTg0Nzg3Mjk4MyA4NDM5NTMxNjA5OTk5OTQzIDg5OTkxMDAyNTI5NjkyMTQ=