Horde_Support_Stub
in package
implements
ArrayAccess, Countable, IteratorAggregate
Class that can substitute for any object and safely do nothing.
Tags
Interfaces, Classes and Traits
- ArrayAccess
- Countable
- IteratorAggregate
Table of Contents
- __call() : mixed
- Gracefully accept any method call and do nothing.
- __callStatic() : mixed
- Gracefully accept any static method call and do nothing.
- __get() : null
- Return null for any requested property.
- __isset() : bool
- Property existence.
- __set() : mixed
- Ignore setting the requested property.
- __toString() : string
- Cooerce to an empty string.
- __unset() : mixed
- Ignore unsetting a property.
- count() : mixed
- getIterator() : mixed
- offsetExists() : mixed
- offsetGet() : mixed
- offsetSet() : mixed
- offsetUnset() : mixed
Methods
__call()
Gracefully accept any method call and do nothing.
public
__call(string $method, array<string|int, mixed> $args) : mixed
Parameters
- $method : string
-
The method that was called.
- $args : array<string|int, mixed>
-
The method's arguments.
Return values
mixed —__callStatic()
Gracefully accept any static method call and do nothing.
public
static __callStatic(string $method, array<string|int, mixed> $args) : mixed
Parameters
- $method : string
-
The method that was called.
- $args : array<string|int, mixed>
-
The method's arguments.
Return values
mixed —__get()
Return null for any requested property.
public
__get(string $key) : null
Parameters
- $key : string
-
The requested object property.
Return values
null —Null.
__isset()
Property existence.
public
__isset(string $key) : bool
Parameters
- $key : string
-
The requested object property.
Return values
bool —False.
__set()
Ignore setting the requested property.
public
__set(string $key, mixed $val) : mixed
Parameters
- $key : string
-
The property.
- $val : mixed
-
The property's value.
Return values
mixed —__toString()
Cooerce to an empty string.
public
__toString() : string
Return values
string —__unset()
Ignore unsetting a property.
public
__unset(string $key) : mixed
Parameters
- $key : string
-
The requested object property.
Return values
mixed —count()
public
count() : mixed
Return values
mixed —getIterator()
public
getIterator() : mixed
Return values
mixed —offsetExists()
public
offsetExists(mixed $offset) : mixed
Parameters
- $offset : mixed
Return values
mixed —offsetGet()
public
offsetGet(mixed $offset) : mixed
Parameters
- $offset : mixed
Return values
mixed —offsetSet()
public
offsetSet(mixed $offset, mixed $value) : mixed
Parameters
- $offset : mixed
- $value : mixed
Return values
mixed —offsetUnset()
public
offsetUnset(mixed $offset) : mixed
Parameters
- $offset : mixed