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