protected function setFromData(Data $data)
    {
        if ($this->data !== $data) {
            $this->data = $data;
        }

        return $this;
    }
protected function setFromData(Data $data)
    {
        if ($this->data !== $data) {
            $this->data = $data;
        }

        return $this;
    }
protected function setFromData ( Data $ data ) { if ( $ this -> data !== $ data ) { $ this -> data = $ data ; } return $ this ; }
Set config data.

@param Data $data

@return $this
Set config data .