public function parse(AbstractStream $stream)
    {
        $value = $this->format($this->read($stream));
        $this->validate($value);
        return $value;
    }
public function parse(AbstractStream $stream)
    {
        $value = $this->format($this->read($stream));
        $this->validate($value);
        return $value;
    }
public function parse ( AbstractStream $ stream ) { $ value = $ this -> format ( $ this -> read ( $ stream ) ) ; $ this -> validate ( $ value ) ; return $ value ; }
Reads and process value from Stream.

@api
@param AbstractStream $stream Stream from which read.
@return mixed The final value.
Reads and process value from Stream .