protected function assertSavePathIsValid()
    {
        if ($this->savePath === null || !is_dir($this->savePath)) {
            throw new PersistenceManagerException(sprintf('The savePath "%s" is not usable.', $this->savePath), 1499347363);
        }
    }
protected function assertSavePathIsValid()
    {
        if ($this->savePath === null || !is_dir($this->savePath)) {
            throw new PersistenceManagerException(sprintf('The savePath "%s" is not usable.', $this->savePath), 1499347363);
        }
    }
protected function assertSavePathIsValid ( ) { if ( $ this -> savePath === null || ! is_dir ( $ this -> savePath ) ) { throw new PersistenceManagerException ( sprintf ( 'The savePath "%s" is not usable.' , $ this -> savePath ) , 1499347363 ) ; } }
Check if the save path is set and points to a directory.

@return void
@throws PersistenceManagerException
Check if the save path is set and points to a directory .