PHP code example of check24 / apitk-deprecation-bundle
1. Go to this page and download the library: Download check24/apitk-deprecation-bundle library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
check24 / apitk-deprecation-bundle example snippets
use Shopping\ApiTKDeprecationBundle\Annotation\Deprecated;
/**
* Returns the users in the system.
*
* @Rest\Get("/v2/users")
* @Rest\View()
*
* @Deprecated(removedAfter="2018-10-09", since="2018-07-01", description="use /v3/users instead")
* @param User[] $users
* @return User[]
*/
/**
* Always log deprecations for this route or class, ignoring global settings:
* @Deprecated(description="use /v3/users instead", triggerDeprecation=true)
*
* Never log deprecations for this route or class, ignoring global settings:
* @Deprecated(description="use /v3/users instead", triggerDeprecation=false)
* ...
*/
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.