PHP Class Aerys\Options

Inheritance: use trait Amp\Struct
Exibir arquivo Open project: amphp/aerys

Public Methods

Method Description
__construct ( )
__get ( string $property ) : mixed Allow retrieval of "public" properties
__set ( string $property, mixed $value ) Prevent external code from modifying our "public" time/date properties

Private Methods

Method Description
setAllowedMethods ( array $allowedMethods )
setChunkBufferSize ( integer $bytes )
setConfigPath ( string $config )
setConnectionsPerIP ( integer $count )
setDebug ( boolean $flag )
setDefaultContentType ( string $contentType )
setDefaultTextCharset ( string $charset )
setDeflateBufferSize ( integer $bytes )
setDeflateEnable ( boolean $flag )
setDeflateMinimumLength ( integer $bytes )
setDisableKeepAlive ( boolean $flag )
setIoGranularity ( integer $bytes )
setKeepAliveTimeout ( integer $seconds )
setMaxBodySize ( integer $bytes )
setMaxConcurrentStreams ( integer $streams )
setMaxConnections ( integer $count )
setMaxFieldLen ( integer $bytes )
setMaxFramesPerSecond ( integer $frames )
setMaxHeaderSize ( integer $bytes )
setMaxInputVars ( integer $bytes )
setMaxKeepAliveRequests ( integer $count )
setNormalizeMethodCase ( boolean $flag )
setOutputBufferSize ( integer $bytes )
setSendServerToken ( boolean $flag )
setShutdownTimeout ( integer $milliseconds )
setSocketBacklogSize ( integer $backlog )
setSoftStreamCap ( integer $bytes )
setUser ( string $user = null ) Note this is a required string|null parameter, just = null because we don't have proper union types with null yet.

Method Details

__construct() public method

public __construct ( )

__get() public method

Allow retrieval of "public" properties
public __get ( string $property ) : mixed
$property string
return mixed Returns the value of the requested property

__set() public method

Prevent external code from modifying our "public" time/date properties
public __set ( string $property, mixed $value )
$property string
$value mixed