RateLimit.php in RESTful 7.2
Same filename in this branch
Contains \Drupal\restful\Annotation\RateLimit.
Namespace
Drupal\restful\AnnotationFile
src/Annotation/RateLimit.phpView source
<?php
/**
* @file
* Contains \Drupal\restful\Annotation\RateLimit.
*/
namespace Drupal\restful\Annotation;
use Drupal\Component\Annotation\Plugin;
/**
* Defines a RateLimit annotation object.
*
* @ingroup plug_example_api
*
* @Annotation
*/
class RateLimit extends Plugin {
/**
* The human readable name.
*
* @var string
*/
public $label;
/**
* The description.
*
* @var string
*/
public $description;
}