Sensio\Bundle\FrameworkExtraBundle\Configuration\Method
The Method class handles the @Method annotation parts.
- Author: Fabien Potencier <fabien@symfony.com>
Synopsis
class Method
extends ConfigurationAnnotation
{
- // members
- protected array $methods;
- // methods
- public array getMethods()
- public void setMethods()
- public void setValue()
- public string getAliasName()
- public Boolean allowArray()
- // Inherited methods from ConfigurationAnnotation
- public void __construct()
Hierarchy
Members
protected
- $methods
—
array
An array of restricted HTTP methods.
Methods
public
- allowArray() — Only one cache directive is allowed
- getAliasName() — Returns the annotation alias name.
- getMethods() — Returns the array of HTTP methods.
- setMethods() — Sets the HTTP methods.
- setValue() — Sets the HTTP methods.