public function writeData($path = '', $data, $public = true)
    {
        $path = $this->getStoragePath($path);

        return $this->_storage->write($path, $data, $public);
    }
public function writeData($path = '', $data, $public = true)
    {
        $path = $this->getStoragePath($path);

        return $this->_storage->write($path, $data, $public);
    }
public function writeData ( $ path = '' , $ data , $ public = true ) { $ path = $ this -> getStoragePath ( $ path ) ; return $ this -> _storage -> write ( $ path , $ data , $ public ) ; }
Write data to entity storage.

@param string $path   The relative path to store the data in
@param string $data   The data to store
@param bool   $public The storage mode. Can be public or private
Write data to entity storage .