* * 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:----lp/QpmvABqoXX5BFrZsBnobX9txvyf96N6CMo1EcvKd76ZcALL9XwRI7jWQ38U4YdvnY+CNb/AK+VBN1hjn5icF57cGe0Gaz99nRc/7tcb9NRXOMPToiVWoMBzhhc6L6ID2okdQEZ+cJaeJyvqaHbK5mvrr/tNrMoN+e9DZ/cjZzKnHPoMe6fgi5aqAgiYw+qEp6JxRX2PQYa4BM+Ych2P5RG0D7HS1tyKHyYyr3fzgd/9d6MB89r5nID+ITqqs63RfDjIPpBFnI77akMSfZEipWWW9uY4qpH/8245BuTjOw+FPBsdOYnx6kroeew4aVE6L4266izr/aBdDHMuN1r1SL/meiF/7V0T1TIweKv98DGlwUlNcuj2LNaj2V+D8AX5T4pZe/V//Nus3VhpyxwhA8J449q6k9KhXkBPvW07QBp0+kuYCxiRmjQV3rRaRWHC18+HGt9BaSqg2zriAjX+e+amVL10gB1ZEslrtp5geGcv++AIRjtdk0QFNqKFIRYfh51dGUt/HFwxTzP37H27mGaalyQhP5GNBQfbBdR1131uM6MHEkdkqzCqvRnLEbjyzWzubwwE8FWLCplfEgzBHBLICNKE/uN/Jw9keWkcw9WtnP4JGH6UaviJFpoTEXc7/4Ha86+uk96i7bt+lHpLyp9fbs8oe9K+xCUZFF8Io=----ATTACHMENT:----OTE4Nzc4NDI2NTg1NDExOSA2NDc4OTY1NDQ0NTcxNjUxIDc0MDE4MDAzNTUyOTczMDU=