public function __construct(DependencyInterface $dependency, $layerA, $layerB) { $this->dependeny = $dependency; $this->layerA = $layerA; $this->layerB = $layerB; }