/** * @Transform :origin * @Transform :destination */ public function transformAirport($code) { return Airport::fromCode($code); }