fetchesAddress = $fetchesAddress; $this->canCreateAddress = $canCreateAddress; $this->createsOrderAddress = $createsOrderAddress; } /** * @param EmploymentObject $object * @return Model * @throws \App\Classes\Exceptions\AccessForbiddenException * @throws \App\Classes\Exceptions\MalformedRequestException * @throws \App\Classes\Exceptions\RequestValidationException */ public function execute(int $address, Order $order): Model { $address = $this->fetchesAddress->execute(['id' => $address_id]); // $this->canCreateAddress->passes($object); //Fetches Address & duplicate return $this->createsOrderAddress->execute($address, $order); } }