Documentation

ArrayResponse extends ArrayObject
in package
implements Response

A response with an ArrayObject interface to key => value data.

Tags
author

Paul Annesley

license

http://www.opensource.org/licenses/mit-license.php

Interfaces, Classes and Traits

Response
A response from the beanstalkd server.

Table of Contents

$_name  : mixed
__construct()  : mixed
__get()  : mixed
Object property access to ArrayObject data.
__isset()  : mixed
Object property access to ArrayObject data.
getResponseName()  : string
The name of the response.
_transformPropertyName()  : string
Tranform underscored property name to hyphenated array key.

Properties

Methods

__construct()

public __construct(string $name, array<string|int, mixed> $data) : mixed
Parameters
$name : string
$data : array<string|int, mixed>
Return values
mixed

__get()

Object property access to ArrayObject data.

public __get(mixed $property) : mixed
Parameters
$property : mixed
Return values
mixed

__isset()

Object property access to ArrayObject data.

public __isset(mixed $property) : mixed
Parameters
$property : mixed
Return values
mixed

getResponseName()

The name of the response.

public getResponseName() : string
Return values
string

_transformPropertyName()

Tranform underscored property name to hyphenated array key.

private _transformPropertyName(mixed $propertyName) : string
Parameters
$propertyName : mixed
Return values
string

Search results