자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
/** * A new part aggregate root is created and added to the repository. */ protected function handleManufacturePartCommand(ManufacturePartCommand $command) { $part = Part::manufacture($command->partId, $command->manufacturerId, $command->manufacturerName); $this->repository->save($part); }