protected function setSavePath($savePath): void
    {
        if (!is_dir($savePath)
            || !is_writable($savePath)
        ) {
            throw new ComponentException('Session path is not writable');
        }
        session_save_path($savePath);
    }
protected function setSavePath($savePath): void
    {
        if (!is_dir($savePath)
            || !is_writable($savePath)
        ) {
            throw new ComponentException('Session path is not writable');
        }
        session_save_path($savePath);
    }
protected function setSavePath ( $ savePath ) : void { if ( ! is_dir ( $ savePath ) || ! is_writable ( $ savePath ) ) { throw new ComponentException ( 'Session path is not writable' ) ; } session_save_path ( $ savePath ) ; }
Set session save path

@param  string $savePath

@return void
@throws ComponentException
Set session save path