public function getStatus(): Result
    {
        $result = new Result();
        try {
            $this->verifyCacheDirectory();
        } catch (Exception $exception) {
            $result->addError(new Error($exception->getMessage(), $exception->getCode(), [], 'Cache Directory'));
            return $result;
        }
        $result->addNotice(new Notice($this->baseDirectory ?? '-', null, [], 'Base Directory'));
        $result->addNotice(new Notice($this->getCacheDirectory(), null, [], 'Cache Directory'));
        return $result;
    }
public function getStatus(): Result
    {
        $result = new Result();
        try {
            $this->verifyCacheDirectory();
        } catch (Exception $exception) {
            $result->addError(new Error($exception->getMessage(), $exception->getCode(), [], 'Cache Directory'));
            return $result;
        }
        $result->addNotice(new Notice($this->baseDirectory ?? '-', null, [], 'Base Directory'));
        $result->addNotice(new Notice($this->getCacheDirectory(), null, [], 'Cache Directory'));
        return $result;
    }
public function getStatus ( ) : Result { $ result = new Result ( ) ; try { $ this -> verifyCacheDirectory ( ) ; } catch ( Exception $ exception ) { $ result -> addError ( new Error ( $ exception -> getMessage ( ) , $ exception -> getCode ( ) , [ ] , 'Cache Directory' ) ) ; return $ result ; } $ result -> addNotice ( new Notice ( $ this -> baseDirectory ?? '-' , null , [ ] , 'Base Directory' ) ) ; $ result -> addNotice ( new Notice ( $ this -> getCacheDirectory ( ) , null , [ ] , 'Cache Directory' ) ) ; return $ result ; }
Validates that the configured cache directory exists and is writeable and returns some details about its configuration if that's the case

@return Result
@api
Validates that the configured cache directory exists and is writeable and returns some details about its configuration if that s the case