1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
<?xml version="1.0" encoding="UTF-8" ?>
<class xmlns="http://xml.phpdox.net/src" full="Ds\Pair" namespace="Ds" name="Pair">
<implements name="JsonSerializable" full="JsonSerializable"/>
<constructor name="__construct" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Creates a new instance"/>
<return type="void"/>
</docblock>
<parameter name="key" optional="true" byreference="false" type="object" class="mixed"/>
<parameter name="value" optional="true" byreference="false" type="object" class="mixed"/>
</constructor>
<method name="clear" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Removes all values"/>
<return type="void"/>
</docblock>
</method>
<method name="copy" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Returns a shallow copy of the pair"/>
<return type="Ds\Pair"/>
</docblock>
</method>
<method name="isEmpty" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact="Returns whether the pair is empty"/>
<return type="bool"/>
</docblock>
</method>
<method name="toArray" abstract="false" static="false" visibility="public" final="false">
<docblock>
<description compact=" Converts the pair to an array ">Converts the pair to an array.</description>
<return type="array"/>
</docblock>
</method>
</class>
|