MIOLO20
Carregando...
Procurando...
Nenhuma entrada encontrada
Collection.php
Ir para a documentação deste ficheiro.
1
<?php
2
/*
3
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
4
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
5
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
6
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
7
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
8
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
9
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
10
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
11
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
12
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
13
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
14
*
15
* This software consists of voluntary contributions made by many individuals
16
* and is licensed under the LGPL. For more information, see
17
* <http://www.doctrine-project.org>.
18
*/
19
20
namespace
Doctrine\Common\Collections
;
21
22
use Closure, Countable, IteratorAggregate, ArrayAccess;
23
46
interface
Collection
extends
Countable, IteratorAggregate, ArrayAccess
47
{
54
function
add
($element);
55
59
function
clear
();
60
68
function
contains
($element);
69
75
function
isEmpty
();
76
83
function
remove
($key);
84
91
function
removeElement
($element);
92
100
function
containsKey
($key);
101
108
function
get
($key);
109
116
function
getKeys
();
117
124
function
getValues
();
125
132
function
set
($key, $value);
133
139
function
toArray
();
140
147
function
first
();
148
155
function
last
();
156
161
function
key
();
162
167
function
current
();
168
173
function
next
();
174
181
function
exists
(Closure $p);
182
190
function
filter
(Closure $p);
191
199
function
forAll
(Closure $p);
200
208
function
map
(Closure $func);
209
219
function
partition
(Closure $p);
220
229
function
indexOf
($element);
230
242
public
function
slice
($offset, $length =
null
);
243
}
Doctrine\Common\Collections\Collection
Definição
Collection.php:47
Doctrine\Common\Collections\Collection\getKeys
getKeys()
Doctrine\Common\Collections\Collection\contains
contains($element)
Doctrine\Common\Collections\Collection\map
map(Closure $func)
Doctrine\Common\Collections\Collection\containsKey
containsKey($key)
Doctrine\Common\Collections\Collection\indexOf
indexOf($element)
Doctrine\Common\Collections\Collection\filter
filter(Closure $p)
Doctrine\Common\Collections\Collection\add
add($element)
Doctrine\Common\Collections\Collection\toArray
toArray()
Doctrine\Common\Collections\Collection\getValues
getValues()
Doctrine\Common\Collections\Collection\key
key()
Doctrine\Common\Collections\Collection\partition
partition(Closure $p)
Doctrine\Common\Collections\Collection\clear
clear()
Doctrine\Common\Collections\Collection\forAll
forAll(Closure $p)
Doctrine\Common\Collections\Collection\first
first()
Doctrine\Common\Collections\Collection\last
last()
Doctrine\Common\Collections\Collection\next
next()
Doctrine\Common\Collections\Collection\slice
slice($offset, $length=null)
Doctrine\Common\Collections\Collection\removeElement
removeElement($element)
Doctrine\Common\Collections\Collection\exists
exists(Closure $p)
Doctrine\Common\Collections\Collection\isEmpty
isEmpty()
Doctrine\Common\Collections\Collection\current
current()
Doctrine\Common\Collections
Definição
ArrayCollection.php:20
classes
extensions
doctrine-dbal
Doctrine
Common
Collections
Collection.php
Gerado por
1.10.0