Methods summary
public
|
|
public static
Ecailles\NullObject\NullObject
|
#
__callStatic( string $name, mixed[] $arguments )
Does nothing when invoking an inaccessible method in a static context.
Does nothing when invoking an inaccessible method in a static context.
Parameters
- $name
- The name of the method being called.
- $arguments
- The arguments of the method being called.
Returns
|
public
Ecailles\NullObject\NullObject
|
#
__invoke( )
Invokes this class as a function.
Invokes this class as a function.
Returns
|
public
Ecailles\NullObject\NullObject
|
#
__call( string $name, mixed[] $arguments )
Does nothing when invoking an inaccessible method in an object context.
Does nothing when invoking an inaccessible method in an object context.
Parameters
- $name
- The name of the method being called.
- $arguments
- The arguments of the method being called.
Returns
|
public
Ecailles\NullObject\NullObject
|
#
__get( string $name )
Returns the value when reading data from an inaccessible property.
Returns the value when reading data from an inaccessible property.
Parameters
Returns
|
public
|
#
__set( string $name, mixed $value )
Does nothing when writing data to an inaccessible property.
Does nothing when writing data to an inaccessible property.
Parameters
- $name
- The property name to set the value to.
- $value
- The value to set.
|
public
string
|
#
__toString( )
Returns a string representation of this object.
Returns a string representation of this object.
Returns
string Always returns the string representation of null.
|
public
|
#
__clone( )
Does nothing with a clone operation.
Does nothing with a clone operation.
|
public
array
|
#
__sleep( )
Returns the names of variables of this object that should be serialized.
Returns the names of variables of this object that should be serialized.
Returns
array Always returns an empty array.
|
public
Ecailles\NullObject\NullObject
|
#
__wakeup( )
Reconstructs resources that this object may have when unserializing.
Reconstructs resources that this object may have when unserializing.
Returns
|
public
stdClass
|
#
jsonSerialize( )
Returns data which should be serialized to JSON.
Returns data which should be serialized to JSON.
Returns
Implementation of
|
public
Ecailles\NullObject\NullObject
|
#
current( )
Returns the current element.
Returns the current element.
Returns
Implementation of
|
public
|
#
next( )
Moves forward to next element.
Moves forward to next element.
Implementation of
|
public
Ecailles\NullObject\NullObject
|
#
key( )
Returns the key of the current element.
Returns the key of the current element.
Returns
Implementation of
|
public
boolean
|
#
valid( )
Checks if current position is valid.
Checks if current position is valid.
Returns
boolean Always returns false.
Implementation of
|
public
|
#
rewind( )
Rewinds the Iterator to the first element.
Rewinds the Iterator to the first element.
Implementation of
|
public
boolean
|
#
offsetExists( mixed $offset )
Returns whether an offset exists.
Returns whether an offset exists.
Parameters
- $offset
- The offset to check for.
Returns
boolean Always returns false.
Implementation of
|
public
Ecailles\NullObject\NullObject
|
#
offsetGet( mixed $offset )
Retrieves the value of an offset.
Retrieves the value of an offset.
Parameters
- $offset
- The offset to retrieve.
Returns
Implementation of
|
public
|
#
offsetSet( mixed $offset, mixed $value )
Sets a value to an offset.
Sets a value to an offset.
Parameters
- $offset
- The offset to assign the value to.
- $value
- The value to set.
Implementation of
|
public
|
#
offsetUnset( mixed $offset )
Unsets an offset.
Parameters
- $offset
- The offset to unset.
Implementation of
|
public
integer
|
#
count( )
Returns the number of the elements of an object.
Returns the number of the elements of an object.
Returns
integer Always returns 0.
Implementation of
|