src/ExtendedRepository.php
public function enableCache($enable = true)
    {
        $this->enableCache = (bool) $enable;

        $this->refreshSettingDependentCriteria();

        return $this;
    }
public function enableCache($enable = true)
    {
        $this->enableCache = (bool) $enable;

        $this->refreshSettingDependentCriteria();

        return $this;
    }
public function enableCache ( $ enable = true ) { $ this -> enableCache = ( bool ) $ enable ; $ this -> refreshSettingDependentCriteria ( ) ; return $ this ; }
Enables using the cache for retrieval

@param bool $enable
@return $this
Enables using the cache for retrieval