PHP Class Opcache\Status

Show file Open project: stevencorona/opcache-json

Public Properties

Property Type Description
$result
$send_extra_stats
$statsd

Public Methods

Method Description
__construct ( $options_or_block = false ) Takes either an array of options or a callable block
configuration ( )
send_extra_stats ( array $send_extra_stats )
status ( $with_scripts = false ) Returns a json_encoded array of opcache status

Protected Methods

Method Description
create_statsd_handle ( $opts )
send_to_statsd ( )

Method Details

__construct() public method

Takes either an array of options or a callable block
public __construct ( $options_or_block = false )

configuration() public method

public configuration ( )

create_statsd_handle() protected method

protected create_statsd_handle ( $opts )

send_extra_stats() public method

public send_extra_stats ( array $send_extra_stats )
$send_extra_stats array

send_to_statsd() protected method

protected send_to_statsd ( )

status() public method

Returns a json_encoded array of opcache status
public status ( $with_scripts = false )

Property Details

$result public property

public $result

$send_extra_stats public property

public $send_extra_stats

$statsd public property

public $statsd