Get the store instance.

@return \Illuminate\Contracts\Cache\Repository
196621
private function store()
    {
        return empty($this->tags) ? $this->store : $this->store->tags($this->tags);
    }
253125
public function store()
    {
        $parameters = $this->validateRequest();
        $model = $this->repository->create($parameters);
        return $this->createdResponse($model);
    }
659191
public function getCache()
    {
        if ($this->cache) {
            return $this->cache;
        }

        if (property_exists($this, 'app') && $this->app instanceof ServiceContainer
            && isset($this->app['cache']) && $this->app['cache'] instanceof CacheInterface) {
            return $this->cache = $this->app['cache'];
        }

        return $this->cache = $this->createDefaultCache();
    }
1192409
public static function load() : JobStore
    {
        if (is_null(self::$instance)) {
            self::$instance = new JobStore(Connection::get());
        }

        return self::$instance;
    }
735734
protected function _getSourceStore()
    {
        // this may return a Mage_Core_Model_Store or a Mage_Core_Model_Website
        $configSource = $this->_validatorHelper->getConfigSource($this->getRequest());
        // When given a website, get the default store for that website.
        // AMQP config is only at global and website level, so no *current*
        // possibility for the default store to have a different value than the website.
        if ($configSource instanceof Mage_Core_Model_Website) {
            return $configSource->getDefaultStore();
        }
        return $configSource;
    }
645995
protected function _repository()
    {
        $source = $this->getSource();
        if ($source === null) {
            list(, $class) = namespaceSplit(get_class($this));
            $source = Inflector::pluralize($class);
        }

        return TableRegistry::getTableLocator()->get($source);
    }
586773
protected function getStorage()
    {
        if ($this->options['cache']) {
            // set ttl is 0, relize expired by other method
            return Ioc::cache($this->options['name'])->setOption('ttl', 0);
        } else {
            return Ioc::session();
        }
    }
862685
public static function instance() {
		if ( ! isset( self::$instance ) ) {
			self::$instance = new self;
			self::$instance->boot();
			self::$instance->setup_actions();
		}

		return self::$instance;
	}
1022993
public function get()
	{
		if( $this->object === null )
		{
			$extDirs = (array) $this->container->getParameter( 'aimeos_shop.extdir' );
			$this->object = new \Aimeos\Bootstrap( $extDirs, false );
		}

		return $this->object;
	}
768548
public static function load() : ContentItemStore
    {
        if (is_null(self::$instance)) {
            self::$instance = new ContentItemStore(Connection::get());
        }

        return self::$instance;
    }
1316239
private function getStore($store)
    {
        if (!is_object($store)) {
            $store = $this->storeManager->getStore($store);
        }

        return $store;
    }
408205
public function get()
    {
        if (Cache::has($this->getCacheKey()))
            return Cache::get($this->getCacheKey());

        return $this->create();
    }
1041415
public function instance()
    {
        $cache = new CacheItemPool();

        $cache->changeConfig([
            'cacheDirectory' => $this->getCacheDirectory(),
        ]);

        return new PasswordExposedChecker(null, $cache);
    }
1019193
protected function getRepository()
    {
        if (null === $this->repository) {
            $this->repository = $this->getEntityManager()
                    ->getRepository($this->getModuleNamespace() . '\Entity\\' . $this->getEntityName());
        }
        return $this->repository;
    }
1269214
public function getCache() {
    if (!isset($this->cache))
      $this->cache = new \Doctrine\Common\Cache\ArrayCache;
      
    return $this->cache;
  }
1367462
public function store()
    {
        try
        {
            $item = $this->repo->create(Input::all());
        } catch (ValidationErrorException $exception)
        {
            return $this->respondNotValid($exception);
        }

        return $this->response->item($item, new $this->transformerClass);
    }
475459
public function getItemStorage()
    {
        // Hack for weird initialization logic
        if (!$this->itemStorage) {
            $this->itemStorage = new CacheItemStorage(
                $this->cacheAdapter ?: $this->getDefaultCacheAdapter(),
                $this->config->getCacheExpirationInSeconds()
            );
        }

        return $this->itemStorage;
    }