public function setParam($key, $value = null)
    {

        return null !== $this->getDraft() ? $this->getDraft()->setParam($key, $value) : parent::setParam($key, $value);
    }
public function setParam($key, $value = null)
    {

        return null !== $this->getDraft() ? $this->getDraft()->setParam($key, $value) : parent::setParam($key, $value);
    }
public function setParam ( $ key , $ value = null ) { return null !== $ this -> getDraft ( ) ? $ this -> getDraft ( ) -> setParam ( $ key , $ value ) : parent :: setParam ( $ key , $ value ) ; }
Parameters setter.

@param string $key   the parameter name to set, if NULL all the parameters array wil be set
@param mixed  $value the parameter value or all the parameters if $key is NULL

@return AbstractClassContent
Parameters setter .