public function __construct(Entity $entity, Block $from, Block $to) { $this->entity = $entity; $this->from = $from; $this->to = $to; }