Fully Qualified Name: | Zend\Http\Header\Allow |
Implements: | HeaderInterface |
Allow Header
Name | Description | Defined By |
---|---|---|
allowMethods() | Allow methods or list of methods | Allow |
denyMethods() | Convenience alias for @see disallowMethods() | Allow |
disallowMethods() | Disallow methods or list of methods | Allow |
fromString() | Create Allow header from header line | Allow |
getAllMethods() | Get list of all defined methods | Allow |
getAllowedMethods() | Get list of allowed methods | Allow |
getFieldName() | Get header name | Allow |
getFieldValue() | Get comma-separated list of allowed methods | Allow |
isAllowedMethod() | Check whether method is allowed | Allow |
toString() | Return header as string | Allow |
Allow methods or list of methods
Parameter Name | Type | Description |
---|---|---|
$allowedMethods | array|string |
Returns: \Allow
Convenience alias for @see disallowMethods()
Parameter Name | Type | Description |
---|---|---|
$disallowedMethods | array|string |
Returns: \Allow
Disallow methods or list of methods
Parameter Name | Type | Description |
---|---|---|
$disallowedMethods | array|string |
Returns: \Allow
Create Allow header from header line
Parameter Name | Type | Description |
---|---|---|
$headerLine | string |
Returns: \Allow
Get list of all defined methods
Returns: array
Get list of allowed methods
Returns: array
Get header name
Returns: string
Get comma-separated list of allowed methods
Returns: string
Check whether method is allowed
Parameter Name | Type | Description |
---|---|---|
$method | string |
Returns: bool
Return header as string
Returns: string