public function AbstractLazyCollection::get in Plug 7
Gets the element at the specified key/index.
Parameters
string|integer $key The key/index of the element to retrieve.:
Return value
mixed
Overrides Collection::get
File
- lib/
doctrine/ collections/ lib/ Doctrine/ Common/ Collections/ AbstractLazyCollection.php, line 119
Class
- AbstractLazyCollection
- Lazy collection that is backed by a concrete collection
Namespace
Doctrine\Common\CollectionsCode
public function get($key) {
$this
->initialize();
return $this->collection
->get($key);
}