protected function saveSerializedObject($serializedObject)
    {
        if (file_exists($this->path) && !is_writable($this->path)) {
            throw new Exception('The file "' . $this->path . '" isn\'t writable!');
        }

        return file_put_contents($this->path, $serializedObject);
    }
protected function saveSerializedObject($serializedObject)
    {
        if (file_exists($this->path) && !is_writable($this->path)) {
            throw new Exception('The file "' . $this->path . '" isn\'t writable!');
        }

        return file_put_contents($this->path, $serializedObject);
    }
protected function saveSerializedObject ( $ serializedObject ) { if ( file_exists ( $ this -> path ) && ! is_writable ( $ this -> path ) ) { throw new Exception ( 'The file "' . $ this -> path . '" isn\'t writable!' ) ; } return file_put_contents ( $ this -> path , $ serializedObject ) ; }
Saves the object in the data source

@access protected
@param string $serializedObject
@return integer

@throws Zepi\Turbo\Exception The file "$path" isn't writable!
Saves the object in the data source