SplObjectStorage::setInfo
SplObjectStorage::setInfo
(PHP 5 >= 5.3.0, PHP 7)
SplObjectStorage::setInfo — Sets the data associated with the current iterator entry
Description
public void SplObjectStorage::setInfo ( mixed $data )
Associates data, or info, with the object currently pointed to by the iterator.
Parameters
-
data
-
The data to associate with the current iterator entry.