You are here

class RateLimit in RESTful 7.2

Same name in this branch
  1. 7.2 src/Annotation/RateLimit.php \Drupal\restful\Annotation\RateLimit
  2. 7.2 src/RateLimit/Entity/RateLimit.php \Drupal\restful\RateLimit\Entity\RateLimit
  3. 7.2 src/Plugin/rate_limit/RateLimit.php \Drupal\restful\Plugin\rate_limit\RateLimit

Defines a RateLimit annotation object.

Hierarchy

  • class \Drupal\restful\Annotation\RateLimit extends \Drupal\Component\Annotation\Plugin

Expanded class hierarchy of RateLimit

2 classes are annotated with RateLimit
RateLimitGlobal in src/Plugin/rate_limit/RateLimitGlobal.php
Class RateLimitGlobal @package Drupal\restful\Plugin\rate_limit
RateLimitRequest in src/Plugin/rate_limit/RateLimitRequest.php
Class RateLimitGlobal @package Drupal\restful\Plugin\rate_limit

File

src/Annotation/RateLimit.php, line 19
Contains \Drupal\restful\Annotation\RateLimit.

Namespace

Drupal\restful\Annotation
View source
class RateLimit extends Plugin {

  /**
   * The human readable name.
   *
   * @var string
   */
  public $label;

  /**
   * The description.
   *
   * @var string
   */
  public $description;

}

Members

Namesort descending Modifiers Type Description Overrides
RateLimit::$description public property The description.
RateLimit::$label public property The human readable name.