public function setContent(AbstractClassContent $content = null)
    {
        $this->_content = $content;

        if (null !== $this->_content) {
            $this->setClassname(ClassUtils::getRealClass($this->_content));
        }

        return $this->getContentInstance();
    }
public function setContent(AbstractClassContent $content = null)
    {
        $this->_content = $content;

        if (null !== $this->_content) {
            $this->setClassname(ClassUtils::getRealClass($this->_content));
        }

        return $this->getContentInstance();
    }
public function setContent ( AbstractClassContent $ content = null ) { $ this -> _content = $ content ; if ( null !== $ this -> _content ) { $ this -> setClassname ( ClassUtils :: getRealClass ( $ this -> _content ) ) ; } return $ this -> getContentInstance ( ) ; }
Sets the attached revisionned content.

@param  AbstractClassContent $content

@return AbstractClassContent the current instance content
Sets the attached revisionned content .