コード例 #1
0
 public function testNextInArrayCollection()
 {
     $collection = new ArrayCollection(array('first', 'last'));
     $this->assertEquals('first', $collection->current());
     $collection->next();
     $this->assertEquals('last', $collection->current());
 }
コード例 #2
0
 /**
  * Gets the current Property.
  * @return Property
  */
 public function current()
 {
     return parent::current();
 }