public function detachFirst()
    {
        $this->rewind();
        $o = $this->current();
        if (!$o) {
            return false;
        }
        $this->detach($o);
        return $o;
    }
public function detachFirst()
    {
        $this->rewind();
        $o = $this->current();
        if (!$o) {
            return false;
        }
        $this->detach($o);
        return $o;
    }
public function detachFirst ( ) { $ this -> rewind ( ) ; $ o = $ this -> current ( ) ; if ( ! $ o ) { return false ; } $ this -> detach ( $ o ) ; return $ o ; }
Detaches first object and returns it
@return object
Detaches first object and returns it