src/Zicht/Bundle/FrameworkExtraBundle/Fixture/Builder.php
public function peek()
    {
        $c = count($this->stack);
        if ($c == 0) {
            throw new \UnexpectedValueException("The stack is empty. You should probably peek() before the last end() call.");
        }
        $ret = $this->stack[$c -1];
        return $ret;
    }
public function peek()
    {
        $c = count($this->stack);
        if ($c == 0) {
            throw new \UnexpectedValueException("The stack is empty. You should probably peek() before the last end() call.");
        }
        $ret = $this->stack[$c -1];
        return $ret;
    }
public function peek ( ) { $ c = count ( $ this -> stack ) ; if ( $ c == 0 ) { throw new \ UnexpectedValueException ( "The stack is empty. You should probably peek() before the last end() call." ) ; } $ ret = $ this -> stack [ $ c - 1 ] ; return $ ret ; }
Returns the object that is currently the subject of building

@return mixed
@throws \UnexpectedValueException
Returns the object that is currently the subject of building