php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
SplObjectStorage Class Reference
Inheritance diagram for SplObjectStorage:
Countable SeekableIterator Serializable ArrayAccess Iterator Traversable

Public Member Functions

 attach (object $object, mixed $info=null)
 
 detach (object $object)
 
 contains (object $object)
 
 addAll (SplObjectStorage $storage)
 
 removeAll (SplObjectStorage $storage)
 
 removeAllExcept (SplObjectStorage $storage)
 
 getInfo ()
 
 setInfo (mixed $info)
 
 count (int $mode=COUNT_NORMAL)
 
 rewind ()
 
 valid ()
 
 key ()
 
 current ()
 
 next ()
 
 seek (int $offset)
 
 unserialize (string $data)
 
 serialize ()
 
 offsetExists ($object)
 
 offsetGet ($object)
 
 offsetSet ($object, mixed $info=null)
 
 offsetUnset ($object)
 
 getHash (object $object)
 
 __serialize ()
 
 __unserialize (array $data)
 
 __debugInfo ()
 
- Public Member Functions inherited from Countable
 count ()
 
- Public Member Functions inherited from ArrayAccess
 offsetExists (mixed $offset)
 
 offsetGet (mixed $offset)
 
 offsetSet (mixed $offset, mixed $value)
 
 offsetUnset (mixed $offset)
 

Detailed Description

Definition at line 23 of file spl_observer.stub.php.

Member Function Documentation

◆ __debugInfo()

SplObjectStorage::__debugInfo ( )

@tentative-return-type

Definition at line 113 of file spl_observer.stub.php.

◆ __serialize()

SplObjectStorage::__serialize ( )

@tentative-return-type

Definition at line 107 of file spl_observer.stub.php.

◆ __unserialize()

SplObjectStorage::__unserialize ( array $data)

@tentative-return-type

Definition at line 110 of file spl_observer.stub.php.

◆ addAll()

SplObjectStorage::addAll ( SplObjectStorage $storage)

@tentative-return-type

Definition at line 35 of file spl_observer.stub.php.

◆ attach()

SplObjectStorage::attach ( object $object,
mixed $info = null )

@tentative-return-type

Definition at line 26 of file spl_observer.stub.php.

◆ contains()

SplObjectStorage::contains ( object $object)

@tentative-return-type

Definition at line 32 of file spl_observer.stub.php.

◆ count()

SplObjectStorage::count ( int $mode = COUNT_NORMAL)

@tentative-return-type

Definition at line 50 of file spl_observer.stub.php.

◆ current()

SplObjectStorage::current ( )

@tentative-return-type

Implements Iterator.

Definition at line 62 of file spl_observer.stub.php.

◆ detach()

SplObjectStorage::detach ( object $object)

@tentative-return-type

Definition at line 29 of file spl_observer.stub.php.

◆ getHash()

SplObjectStorage::getHash ( object $object)

@tentative-return-type

Definition at line 104 of file spl_observer.stub.php.

◆ getInfo()

SplObjectStorage::getInfo ( )

@tentative-return-type

Definition at line 44 of file spl_observer.stub.php.

◆ key()

SplObjectStorage::key ( )

@tentative-return-type

Implements Iterator.

Definition at line 59 of file spl_observer.stub.php.

◆ next()

SplObjectStorage::next ( )

@tentative-return-type

Implements Iterator.

Definition at line 65 of file spl_observer.stub.php.

◆ offsetExists()

SplObjectStorage::offsetExists ( $object)
Parameters
object$object@tentative-return-type @implementation-alias SplObjectStorage\contains @no-verify Cannot specify arg type because ArrayAccess does not

Definition at line 81 of file spl_observer.stub.php.

◆ offsetGet()

SplObjectStorage::offsetGet ( $object)
Parameters
object$object@tentative-return-type

Definition at line 87 of file spl_observer.stub.php.

◆ offsetSet()

SplObjectStorage::offsetSet ( $object,
mixed $info = null )
Parameters
object$object@tentative-return-type @implementation-alias SplObjectStorage\attach

Definition at line 94 of file spl_observer.stub.php.

◆ offsetUnset()

SplObjectStorage::offsetUnset ( $object)
Parameters
object$object@tentative-return-type @implementation-alias SplObjectStorage\detach

Definition at line 101 of file spl_observer.stub.php.

◆ removeAll()

SplObjectStorage::removeAll ( SplObjectStorage $storage)

@tentative-return-type

Definition at line 38 of file spl_observer.stub.php.

◆ removeAllExcept()

SplObjectStorage::removeAllExcept ( SplObjectStorage $storage)

@tentative-return-type

Definition at line 41 of file spl_observer.stub.php.

◆ rewind()

SplObjectStorage::rewind ( )

@tentative-return-type

Implements Iterator.

Definition at line 53 of file spl_observer.stub.php.

◆ seek()

SplObjectStorage::seek ( int $offset)

@tentative-return-type

Implements SeekableIterator.

Definition at line 67 of file spl_observer.stub.php.

◆ serialize()

SplObjectStorage::serialize ( )

@tentative-return-type

Implements Serializable.

Definition at line 73 of file spl_observer.stub.php.

◆ setInfo()

SplObjectStorage::setInfo ( mixed $info)

@tentative-return-type

Definition at line 47 of file spl_observer.stub.php.

◆ unserialize()

SplObjectStorage::unserialize ( string $data)

@tentative-return-type

Implements Serializable.

Definition at line 70 of file spl_observer.stub.php.

◆ valid()

SplObjectStorage::valid ( )

@tentative-return-type

Implements Iterator.

Definition at line 56 of file spl_observer.stub.php.


The documentation for this class was generated from the following file: