832. Class

832.1. Zend\Http\Header\Allow

Allow Header

832.1.1. Methods

832.1.1.1. fromString

fromString()

Create Allow header from header line

Parameters:string
Return type:Allow
Throws :ExceptionInvalidArgumentException

832.1.1.2. getFieldName

getFieldName()

Get header name

Return type:string

832.1.1.3. getFieldValue

getFieldValue()

Get comma-separated list of allowed methods

Return type:string

832.1.1.4. getAllMethods

getAllMethods()

Get list of all defined methods

Return type:array

832.1.1.5. getAllowedMethods

getAllowedMethods()

Get list of allowed methods

Return type:array

832.1.1.6. allowMethods

allowMethods()

Allow methods or list of methods

Parameters:array|string
Return type:Allow

832.1.1.7. disallowMethods

disallowMethods()

Disallow methods or list of methods

Parameters:array|string
Return type:Allow

832.1.1.8. denyMethods

denyMethods()

Convenience alias for @see disallowMethods()

Parameters:array|string
Return type:Allow

832.1.1.9. isAllowedMethod

isAllowedMethod()

Check whether method is allowed

Parameters:string
Return type:bool

832.1.1.10. toString

toString()

Return header as string

Return type:string