public function fields($value = null)
    {
        if (null === $value) {
            return $this->fields;
        }
        $this->fields = $value;
        return $this;
    }
public function fields($value = null)
    {
        if (null === $value) {
            return $this->fields;
        }
        $this->fields = $value;
        return $this;
    }
public function fields ( $ value = null ) { if ( null === $ value ) { return $ this -> fields ; } $ this -> fields = $ value ; return $ this ; }
Fields getter and setter.

@param  array $value
@return mixed
Fields getter and setter .