getElements() public méthode

Get all elements store in $elements
public getElements ( ) : array
Résultat array
Exemple #1
0
 /**
  * Test
  *
  * @return void
  */
 public function testGetElements()
 {
     $model = Model::fromIdentifier('identifier-collection-test');
     $this->object->addElement($model);
     $this->assertEquals(1, count($this->object->getElements()));
 }