. */ namespace OrangeHRM\{API_NAMESPACE}\Api; use OrangeHRM\Core\Api\CommonParams; use OrangeHRM\Core\Api\V2\CrudEndpoint; use OrangeHRM\Core\Api\V2\Endpoint; use OrangeHRM\Core\Api\V2\EndpointCollectionResult; use OrangeHRM\Core\Api\V2\EndpointResourceResult; use OrangeHRM\Core\Api\V2\EndpointResult; use OrangeHRM\Core\Api\V2\Exception\RecordNotFoundException; use OrangeHRM\Core\Api\V2\Model\ArrayModel; use OrangeHRM\Core\Api\V2\ParameterBag; use OrangeHRM\Core\Api\V2\RequestParams; use OrangeHRM\Core\Api\V2\Validator\ParamRule; use OrangeHRM\Core\Api\V2\Validator\ParamRuleCollection; use OrangeHRM\Core\Api\V2\Validator\Rule; use OrangeHRM\Core\Api\V2\Validator\Rules; use OrangeHRM\Core\Dto\Base64Attachment; use OrangeHRM\Entity\{ENTITY_CLASS}; class {API_CLASS}API extends Endpoint implements CrudEndpoint { /** * @var null|{API_CLASS}Service */ protected ?{API_CLASS}Service ${API_CLASS}Service = null; /** * @inheritDoc */ public function getOne(): EndpointResult { } /** * @inheritDoc */ public function getValidationRuleForGetOne(): ParamRuleCollection { } /** * @inheritDoc */ public function getAll(): EndpointResult { } /** * @inheritDoc */ public function getValidationRuleForGetAll(): ParamRuleCollection { } /** * @inheritDoc */ public function create(): EndpointResult { } /** * @inheritDoc */ public function getValidationRuleForCreate(): ParamRuleCollection { } /** * @inheritDoc */ public function update(): EndpointResult { } /** * @inheritDoc */ public function getValidationRuleForUpdate(): ParamRuleCollection { } /** * @inheritDoc */ public function delete(): EndpointResult { } /** * @inheritDoc */ public function getValidationRuleForDelete(): ParamRuleCollection { } }