public function getDefaultCacheStore(): ?Store
    {
        // We do not know what store is desired. Therefore,
        // the safest bet is to obtain the default
        $manager = Cache::getFacadeRoot();
        if (isset($manager)) {
            /** @var Repository $repository */
            $repository = $manager->store();
            return $repository->getStore();
        }
        return $manager;
    }
public function getDefaultCacheStore(): ?Store
    {
        // We do not know what store is desired. Therefore,
        // the safest bet is to obtain the default
        $manager = Cache::getFacadeRoot();
        if (isset($manager)) {
            /** @var Repository $repository */
            $repository = $manager->store();
            return $repository->getStore();
        }
        return $manager;
    }
public function getDefaultCacheStore ( ) : ? Store { // We do not know what store is desired. Therefore, // the safest bet is to obtain the default $ manager = Cache :: getFacadeRoot ( ) ; if ( isset ( $ manager ) ) { /** @var Repository $repository */ $ repository = $ manager -> store ( ) ; return $ repository -> getStore ( ) ; } return $ manager ; }
Get a default cache store value, if any is available

@return Store|null A default cache store value or Null if no default value is available
Get a default cache store value if any is available