id = $id; } /** * @param ProfileRepositoryInterface $profileRepository * @return |null */ public function handle(ProfileRepositoryInterface $profileRepository) { if ($this->id) { return $profileRepository->findByUserID($this->id); } return null; } }