|
SplObjectStorage::offsetSetAssociates data to an object in the storage Description
public void SplObjectStorage::offsetSet
( object
$object
[, mixed $data = NULL
] )Associate data to an object in the storage.
Parameters
Return ValuesNo value is returned. Examples
Example #1 SplObjectStorage::offsetSet example
<?php The above example will output something similar to: string(5) "hello" See Also
|