protected function createEntityFromContent(string $content): EntityInterface
    {
        $result = $this->createEntity();
        $result->readData(new DataContainer($this->decodeContent($content)));
        return $result;
    }
protected function createEntityFromContent(string $content): EntityInterface
    {
        $result = $this->createEntity();
        $result->readData(new DataContainer($this->decodeContent($content)));
        return $result;
    }
protected function createEntityFromContent ( string $ content ) : EntityInterface { $ result = $ this -> createEntity ( ) ; $ result -> readData ( new DataContainer ( $ this -> decodeContent ( $ content ) ) ) ; return $ result ; }
Creates an entity from the specified content.
@param string $content
@return EntityInterface
Creates an entity from the specified content .