Pimcore\Model\Translation\AbstractTranslation\Listing\Dao::isCacheable PHP Method

isCacheable() public method

public isCacheable ( ) : boolean
return boolean
    public function isCacheable()
    {
        $count = $this->db->fetchOne("SELECT COUNT(*) FROM " . static::getTableName());
        if ($count > 5000) {
            return false;
        }
        return true;
    }