/** * Finds an element inside this collection * * @param string name * @return io.collections.IOElement * @throws io.OperationNotSupportedException * @throws io.IOException */ public function findElement($name) { $qualified = $this->qualifiedName($name); if (!is_file($qualified)) { return NULL; } $found = new FileElement($qualified); $found->setOrigin($this); return $found; }