From 888e6cbd84450aea310a33828d4892835c2adbc8 Mon Sep 17 00:00:00 2001 From: Yinci Date: Tue, 14 May 2024 09:05:35 +0200 Subject: [PATCH] Add internship type --- src/Hotelprofessionals.php | 6 ++++++ src/Resources/InternshipType.php | 10 ++++++++++ 2 files changed, 16 insertions(+) create mode 100644 src/Resources/InternshipType.php diff --git a/src/Hotelprofessionals.php b/src/Hotelprofessionals.php index e55d7ea..ff4320e 100644 --- a/src/Hotelprofessionals.php +++ b/src/Hotelprofessionals.php @@ -10,6 +10,7 @@ use WeDesignIt\HotelprofessionalsApiClient\Resources\EmploymentType; use WeDesignIt\HotelprofessionalsApiClient\Resources\Experience; use WeDesignIt\HotelprofessionalsApiClient\Resources\FunctionFeature; +use WeDesignIt\HotelprofessionalsApiClient\Resources\InternshipType; use WeDesignIt\HotelprofessionalsApiClient\Resources\JobListing; use WeDesignIt\HotelprofessionalsApiClient\Resources\Language; use WeDesignIt\HotelprofessionalsApiClient\Resources\Occupation; @@ -85,4 +86,9 @@ public function functionFeature(): FunctionFeature { return new FunctionFeature($this->client, 'function-features'); } + + public function internshipType(): InternshipType + { + return new InternshipType($this->client, 'internship-types'); + } } diff --git a/src/Resources/InternshipType.php b/src/Resources/InternshipType.php new file mode 100644 index 0000000..7993bd9 --- /dev/null +++ b/src/Resources/InternshipType.php @@ -0,0 +1,10 @@ +