public function __construct(Node $src, Node $dst, SpecificationInterface $spec) { $this->src = $src; $this->dst = $dst; $this->spec = $spec; }