Contains classes, interfaces and traits that are shared between apitk-* bundles, mainly:
Install the package via composer:
composer require check24/apitk-common-bundle
You usually don't have to install it by yourself, because it is only for other apitk-bundles.
Useful traits for your ParamConverter Annotation:
entity, entityManager and methodName optionsrequestParam optionCommon logic for changing Swagger/OpenAPI annotations via PHP.
Useful traits for your ParamConverter logic:
ContextAwareParamConverterTrait.php EntityAwareParamConverterTrait.php
$this->getOption('name', 'default') convenience methods
to access annotation options easily.getEntity(), getEntityManager() and callRepositoryMethod()
convenience to access an entity, its appropriate entity manager and
repository for the given Annotation options.getRequestParam() and getRequestParamValue() methods to access
a request param given by Annotation options easily. It's also possible to
define defaults here.How can I help you explore Laravel packages today?