diff --git a/reference/spl/splobjectstorage/removeallexcept.xml b/reference/spl/splobjectstorage/removeallexcept.xml new file mode 100644 index 0000000000..28f5740725 --- /dev/null +++ b/reference/spl/splobjectstorage/removeallexcept.xml @@ -0,0 +1,102 @@ + + + + + + SplObjectStorage::removeAllExcept + Removes all objects except for those contained in another storage from the current storage + + + + &reftitle.description; + + public voidSplObjectStorage::removeAllExcept + SplObjectStoragestorage + + + Removes all objects except for those contained in another storage from the current storage. + + + + + &reftitle.parameters; + + + + storage + + + The storage containing the elements to retain in the current storage. + + + + + + + + + &reftitle.returnvalues; + + &return.void; + + + + + &reftitle.examples; + + + <function>SplObjectStorage::removeAllExcept</function> example + + + + &example.outputs.similar; + + + + + + + + + + diff --git a/reference/spl/versions.xml b/reference/spl/versions.xml index 7df1b97c75..ec35b8ffca 100644 --- a/reference/spl/versions.xml +++ b/reference/spl/versions.xml @@ -944,6 +944,7 @@ +