mirror of
https://forge.chapril.org/tykayn/caisse-bliss
synced 2025-10-04 17:04:54 +02:00
8021 lines
392 KiB
HTML
8021 lines
392 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Documentation</title>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<base href="../">
|
|
<link rel="icon" href="images/favicon.ico"/>
|
|
<link rel="stylesheet" href="css/normalize.css">
|
|
<link rel="stylesheet" href="css/base.css">
|
|
<link rel="preconnect" href="https://fonts.gstatic.com">
|
|
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@100;200;300;400;600;700&display=swap" rel="stylesheet">
|
|
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:wght@400;600;700&display=swap" rel="stylesheet">
|
|
<link rel="stylesheet" href="css/template.css">
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.12.0/css/all.min.css" integrity="sha256-ybRkN9dBjhcS2qrW1z+hfCxq+1aBdwyQM5wlQoQVt/0=" crossorigin="anonymous" />
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/themes/prism-okaidia.css">
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.css">
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.css">
|
|
<script src="https://cdn.jsdelivr.net/npm/fuse.js@3.4.6"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/css-vars-ponyfill@2"></script>
|
|
<script src="js/template.js"></script>
|
|
<script src="js/search.js"></script>
|
|
<script defer src="js/searchIndex.js"></script>
|
|
</head>
|
|
<body id="top">
|
|
<header class="phpdocumentor-header phpdocumentor-section">
|
|
<h1 class="phpdocumentor-title"><a href="" class="phpdocumentor-title__link">Documentation</a></h1>
|
|
<input class="phpdocumentor-header__menu-button" type="checkbox" id="menu-button" name="menu-button" />
|
|
<label class="phpdocumentor-header__menu-icon" for="menu-button">
|
|
<i class="fas fa-bars"></i>
|
|
</label>
|
|
<section data-search-form class="phpdocumentor-search">
|
|
<label>
|
|
<span class="visually-hidden">Search for</span>
|
|
<svg class="phpdocumentor-search__icon" width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
<circle cx="7.5" cy="7.5" r="6.5" stroke="currentColor" stroke-width="2"/>
|
|
<line x1="12.4892" y1="12.2727" x2="19.1559" y2="18.9393" stroke="currentColor" stroke-width="3"/>
|
|
</svg>
|
|
<input type="search" class="phpdocumentor-field phpdocumentor-search__field" placeholder="Loading .." disabled />
|
|
</label>
|
|
</section>
|
|
|
|
<nav class="phpdocumentor-topnav">
|
|
<ul class="phpdocumentor-topnav__menu">
|
|
</ul>
|
|
</nav>
|
|
</header>
|
|
|
|
<main class="phpdocumentor">
|
|
<div class="phpdocumentor-section">
|
|
<input class="phpdocumentor-sidebar__menu-button" type="checkbox" id="sidebar-button" name="sidebar-button" />
|
|
<label class="phpdocumentor-sidebar__menu-icon" for="sidebar-button">
|
|
Menu
|
|
</label>
|
|
<aside class="phpdocumentor-column -three phpdocumentor-sidebar">
|
|
<section class="phpdocumentor-sidebar__category">
|
|
<h2 class="phpdocumentor-sidebar__category-header">Namespaces</h2>
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/doctrinemigrations.html" class="">DoctrineMigrations</a>
|
|
</h4>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/hwi.html" class="">HWI</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/hwi-bundle.html" class="">Bundle</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/caissebliss.html" class="">CaisseBliss</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/caissebliss-controller.html" class="">Controller</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/caissebliss-entity.html" class="">Entity</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/caissebliss-form.html" class="">Form</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/caissebliss-repository.html" class="">Repository</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/caissebliss-security.html" class="">Security</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/caissebliss-service.html" class="">Service</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/caissebliss-tests.html" class="">Tests</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/caissebliss-traits.html" class="">Traits</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/tests.html" class="">Tests</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/tests-appbundle.html" class="">AppBundle</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/app.html" class="">App</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/app-controller.html" class="">Controller</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/app-datafixtures.html" class="">DataFixtures</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/app-entity.html" class="">Entity</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/app-form.html" class="">Form</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/app-repository.html" class="">Repository</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/app-security.html" class="">Security</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/app-traits.html" class="">Traits</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/app-tests.html" class="">Tests</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/containervvrt4pd.html" class="">ContainerVvRT4pd</a>
|
|
</h4>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/symfony.html" class="">Symfony</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/symfony-config.html" class="">Config</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/symfony-component.html" class="">Component</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/symfony-contracts.html" class="">Contracts</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/symfony-bundle.html" class="">Bundle</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/symfony-bridge.html" class="">Bridge</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/symfony-flex.html" class="">Flex</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/symfony-polyfill.html" class="">Polyfill</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/symfony-runtime.html" class="">Runtime</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/symfony-webpackencorebundle.html" class="">WebpackEncoreBundle</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/composer.html" class="">Composer</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/composer-autoload.html" class="">Autoload</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/doctrine.html" class="">Doctrine</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/doctrine-common.html" class="">Common</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/doctrine-dbal.html" class="">DBAL</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/doctrine-deprecations.html" class="">Deprecations</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/doctrine-bundle.html" class="">Bundle</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/doctrine-inflector.html" class="">Inflector</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/doctrine-instantiator.html" class="">Instantiator</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/doctrine-migrations.html" class="">Migrations</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/doctrine-orm.html" class="">ORM</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/doctrine-persistence.html" class="">Persistence</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/doctrine-sqlformatter.html" class="">SqlFormatter</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/easycorp.html" class="">EasyCorp</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/easycorp-bundle.html" class="">Bundle</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/egulias.html" class="">Egulias</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/egulias-emailvalidator.html" class="">EmailValidator</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/proxymanager.html" class="">ProxyManager</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/proxymanager-autoloader.html" class="">Autoloader</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/proxymanager-exception.html" class="">Exception</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/proxymanager-factory.html" class="">Factory</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/proxymanager-filelocator.html" class="">FileLocator</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/proxymanager-generator.html" class="">Generator</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/proxymanager-generatorstrategy.html" class="">GeneratorStrategy</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/proxymanager-inflector.html" class="">Inflector</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/proxymanager-proxy.html" class="">Proxy</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/proxymanager-proxygenerator.html" class="">ProxyGenerator</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/proxymanager-signature.html" class="">Signature</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/proxymanager-stub.html" class="">Stub</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/laminas.html" class="">Laminas</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/laminas-code.html" class="">Code</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/monolog.html" class="">Monolog</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/monolog-attribute.html" class="">Attribute</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/monolog-formatter.html" class="">Formatter</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/monolog-handler.html" class="">Handler</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/monolog-processor.html" class="">Processor</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/monolog-test.html" class="">Test</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/deepcopy.html" class="">DeepCopy</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/deepcopy-exception.html" class="">Exception</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/deepcopy-filter.html" class="">Filter</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/deepcopy-matcher.html" class="">Matcher</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/deepcopy-reflection.html" class="">Reflection</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/deepcopy-typefilter.html" class="">TypeFilter</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/deepcopy-typematcher.html" class="">TypeMatcher</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/phpparser.html" class="">PhpParser</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/phpparser-builder.html" class="">Builder</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/phpparser-comment.html" class="">Comment</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/phpparser-errorhandler.html" class="">ErrorHandler</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/phpparser-internal.html" class="">Internal</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/phpparser-lexer.html" class="">Lexer</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/phpparser-node.html" class="">Node</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/phpparser-nodevisitor.html" class="">NodeVisitor</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/phpparser-parser.html" class="">Parser</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/phpparser-prettyprinter.html" class="">PrettyPrinter</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/phario.html" class="">PharIo</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/phario-manifest.html" class="">Manifest</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/phario-version.html" class="">Version</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/phpdocumentor.html" class="">phpDocumentor</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/phpdocumentor-reflection.html" class="">Reflection</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/phpstan.html" class="">PHPStan</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/phpstan-phpdocparser.html" class="">PhpDocParser</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/phpunit.html" class="">PHPUnit</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/phpunit-framework.html" class="">Framework</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/phpunit-runner.html" class="">Runner</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/phpunit-textui.html" class="">TextUI</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/phpunit-util.html" class="">Util</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/psr.html" class="">Psr</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/psr-cache.html" class="">Cache</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/psr-container.html" class="">Container</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/psr-eventdispatcher.html" class="">EventDispatcher</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/psr-link.html" class="">Link</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/psr-log.html" class="">Log</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/sebastianbergmann.html" class="">SebastianBergmann</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/sebastianbergmann-codecoverage.html" class="">CodeCoverage</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/sebastianbergmann-fileiterator.html" class="">FileIterator</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/sebastianbergmann-invoker.html" class="">Invoker</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/sebastianbergmann-template.html" class="">Template</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/sebastianbergmann-timer.html" class="">Timer</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/sebastianbergmann-cliparser.html" class="">CliParser</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/sebastianbergmann-codeunit.html" class="">CodeUnit</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/sebastianbergmann-codeunitreverselookup.html" class="">CodeUnitReverseLookup</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/sebastianbergmann-comparator.html" class="">Comparator</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/sebastianbergmann-complexity.html" class="">Complexity</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/sebastianbergmann-diff.html" class="">Diff</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/sebastianbergmann-environment.html" class="">Environment</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/sebastianbergmann-exporter.html" class="">Exporter</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/sebastianbergmann-globalstate.html" class="">GlobalState</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/sebastianbergmann-linesofcode.html" class="">LinesOfCode</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/sebastianbergmann-objectenumerator.html" class="">ObjectEnumerator</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/sebastianbergmann-objectreflector.html" class="">ObjectReflector</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/sebastianbergmann-recursioncontext.html" class="">RecursionContext</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/sebastianbergmann-resourceoperations.html" class="">ResourceOperations</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/sebastianbergmann-type.html" class="">Type</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/theseer.html" class="">TheSeer</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/theseer-tokenizer.html" class="">Tokenizer</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/twig.html" class="">Twig</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/twig-extra.html" class="">Extra</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/twig-cache.html" class="">Cache</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/twig-error.html" class="">Error</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/twig-extension.html" class="">Extension</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/twig-loader.html" class="">Loader</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/twig-node.html" class="">Node</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/twig-nodevisitor.html" class="">NodeVisitor</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/twig-profiler.html" class="">Profiler</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/twig-runtimeloader.html" class="">RuntimeLoader</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/twig-sandbox.html" class="">Sandbox</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/twig-test.html" class="">Test</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/twig-tokenparser.html" class="">TokenParser</a>
|
|
|
|
</li>
|
|
<li>
|
|
<a href="namespaces/twig-util.html" class="">Util</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="namespaces/webmozart.html" class="">Webmozart</a>
|
|
</h4>
|
|
<ul class="phpdocumentor-list">
|
|
<li>
|
|
<a href="namespaces/webmozart-assert.html" class="">Assert</a>
|
|
|
|
</li>
|
|
</ul>
|
|
|
|
</section>
|
|
<section class="phpdocumentor-sidebar__category">
|
|
<h2 class="phpdocumentor-sidebar__category-header">Packages</h2>
|
|
<h4 class="phpdocumentor-sidebar__root-namespace">
|
|
<a href="packages/Application.html" class="">Application</a>
|
|
</h4>
|
|
|
|
</section>
|
|
|
|
<section class="phpdocumentor-sidebar__category">
|
|
<h2 class="phpdocumentor-sidebar__category-header">Reports</h2>
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/deprecated.html">Deprecated</a></h3>
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/errors.html">Errors</a></h3>
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="reports/markers.html">Markers</a></h3>
|
|
</section>
|
|
|
|
<section class="phpdocumentor-sidebar__category">
|
|
<h2 class="phpdocumentor-sidebar__category-header">Indices</h2>
|
|
<h3 class="phpdocumentor-sidebar__root-package"><a href="indices/files.html">Files</a></h3>
|
|
</section>
|
|
</aside>
|
|
|
|
<div class="phpdocumentor-column -nine phpdocumentor-content">
|
|
<section>
|
|
<ul class="phpdocumentor-breadcrumbs">
|
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/doctrine.html">Doctrine</a></li>
|
|
<li class="phpdocumentor-breadcrumb"><a href="namespaces/doctrine-orm.html">ORM</a></li>
|
|
</ul>
|
|
|
|
<article class="phpdocumentor-element -class">
|
|
<h2 class="phpdocumentor-content__title">
|
|
Query
|
|
|
|
<span class="phpdocumentor-element__extends">
|
|
extends <a href="classes/Doctrine-ORM-AbstractQuery.html"><abbr title="\Doctrine\ORM\AbstractQuery">AbstractQuery</abbr></a>
|
|
</span>
|
|
|
|
<div class="phpdocumentor-element__package">
|
|
in package
|
|
<ul class="phpdocumentor-breadcrumbs">
|
|
<li class="phpdocumentor-breadcrumb"><a href="packages/Application.html">Application</a></li>
|
|
</ul>
|
|
</div>
|
|
|
|
|
|
</h2>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
|
|
<div class="phpdocumentor-label phpdocumentor-label--success"><span>Final</span><span>Yes</span></div>
|
|
|
|
|
|
</div>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">48</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">A Query object represents a DQL query.</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h3 id="toc">
|
|
Table of Contents
|
|
<a href="classes/Doctrine-ORM-Query.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4 id="toc-constants">
|
|
Constants
|
|
<a href="classes/Doctrine-ORM-Query.html#toc-constants" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<dl class="phpdocumentor-table-of-contents">
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Doctrine-ORM-Query.html#constant_HINT_CACHE_ENABLED">HINT_CACHE_ENABLED</a>
|
|
<span>
|
|
= 'doctrine.cache.enabled' </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Doctrine-ORM-Query.html#constant_HINT_CACHE_EVICT">HINT_CACHE_EVICT</a>
|
|
<span>
|
|
= 'doctrine.cache.evict' </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Doctrine-ORM-Query.html#constant_HINT_CUSTOM_OUTPUT_WALKER">HINT_CUSTOM_OUTPUT_WALKER</a>
|
|
<span>
|
|
= 'doctrine.customOutputWalker' </span>
|
|
</dt>
|
|
<dd>A string with a class name that implements \Doctrine\ORM\Query\TreeWalker
|
|
and is used for generating the target SQL from any DQL AST tree.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Doctrine-ORM-Query.html#constant_HINT_CUSTOM_TREE_WALKERS">HINT_CUSTOM_TREE_WALKERS</a>
|
|
<span>
|
|
= 'doctrine.customTreeWalkers' </span>
|
|
</dt>
|
|
<dd>An array of class names that implement \Doctrine\ORM\Query\TreeWalker and
|
|
are iterated and executed after the DQL has been parsed into an AST.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Doctrine-ORM-Query.html#constant_HINT_FORCE_PARTIAL_LOAD">HINT_FORCE_PARTIAL_LOAD</a>
|
|
<span>
|
|
= 'doctrine.forcePartialLoad' </span>
|
|
</dt>
|
|
<dd>The forcePartialLoad query hint forces a particular query to return
|
|
partial objects.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Doctrine-ORM-Query.html#constant_HINT_INCLUDE_META_COLUMNS">HINT_INCLUDE_META_COLUMNS</a>
|
|
<span>
|
|
= 'doctrine.includeMetaColumns' </span>
|
|
</dt>
|
|
<dd>The includeMetaColumns query hint causes meta columns like foreign keys and
|
|
discriminator columns to be selected and returned as part of the query result.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Doctrine-ORM-Query.html#constant_HINT_INTERNAL_ITERATION">HINT_INTERNAL_ITERATION</a>
|
|
<span>
|
|
= 'doctrine.internal.iteration' </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Doctrine-ORM-Query.html#constant_HINT_LOCK_MODE">HINT_LOCK_MODE</a>
|
|
<span>
|
|
= 'doctrine.lockMode' </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Doctrine-ORM-Query.html#constant_HINT_READ_ONLY">HINT_READ_ONLY</a>
|
|
<span>
|
|
= 'doctrine.readOnly' </span>
|
|
</dt>
|
|
<dd>Marks queries as creating only read only objects.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Doctrine-ORM-Query.html#constant_HINT_REFRESH">HINT_REFRESH</a>
|
|
<span>
|
|
= 'doctrine.refresh' </span>
|
|
</dt>
|
|
<dd>The refresh hint turns any query into a refresh query with the result that
|
|
any local changes in entities are overridden with the fetched values.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Doctrine-ORM-Query.html#constant_HINT_REFRESH_ENTITY">HINT_REFRESH_ENTITY</a>
|
|
<span>
|
|
= 'doctrine.refresh.entity' </span>
|
|
</dt>
|
|
<dd>Internal hint: is set to the proxy entity that is currently triggered for loading</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#constant_HYDRATE_ARRAY">HYDRATE_ARRAY</a>
|
|
<span>
|
|
= 2 </span>
|
|
</dt>
|
|
<dd>Hydrates an array graph.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#constant_HYDRATE_OBJECT">HYDRATE_OBJECT</a>
|
|
<span>
|
|
= 1 </span>
|
|
</dt>
|
|
<dd>Hydrates an object graph. This is the default behavior.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#constant_HYDRATE_SCALAR">HYDRATE_SCALAR</a>
|
|
<span>
|
|
= 3 </span>
|
|
</dt>
|
|
<dd>Hydrates a flat, rectangular result set with scalar values.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#constant_HYDRATE_SCALAR_COLUMN">HYDRATE_SCALAR_COLUMN</a>
|
|
<span>
|
|
= 6 </span>
|
|
</dt>
|
|
<dd>Hydrates scalar column value.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#constant_HYDRATE_SIMPLEOBJECT">HYDRATE_SIMPLEOBJECT</a>
|
|
<span>
|
|
= 5 </span>
|
|
</dt>
|
|
<dd>Very simple object hydrator (optimized for performance).</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#constant_HYDRATE_SINGLE_SCALAR">HYDRATE_SINGLE_SCALAR</a>
|
|
<span>
|
|
= 4 </span>
|
|
</dt>
|
|
<dd>Hydrates a single scalar value.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Doctrine-ORM-Query.html#constant_STATE_CLEAN">STATE_CLEAN</a>
|
|
<span>
|
|
= 1 </span>
|
|
</dt>
|
|
<dd>A query object is in CLEAN state when it has NO unparsed/unprocessed DQL parts.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -constant -public">
|
|
<a href="classes/Doctrine-ORM-Query.html#constant_STATE_DIRTY">STATE_DIRTY</a>
|
|
<span>
|
|
= 2 </span>
|
|
</dt>
|
|
<dd>A query object is in state DIRTY when it has DQL parts that have not yet been
|
|
parsed/processed. This is automatically defined as DIRTY when addDqlQueryPart
|
|
is called.</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
<h4 id="toc-properties">
|
|
Properties
|
|
<a href="classes/Doctrine-ORM-Query.html#toc-properties" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<dl class="phpdocumentor-table-of-contents">
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#property__em">$_em</a>
|
|
<span>
|
|
: <a href="classes/Doctrine-ORM-EntityManagerInterface.html"><abbr title="\Doctrine\ORM\EntityManagerInterface">EntityManagerInterface</abbr></a> </span>
|
|
</dt>
|
|
<dd>The entity manager used by this query object.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#property__expireResultCache">$_expireResultCache</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Whether or not expire the result cache.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#property__hints">$_hints</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>The map of query hints.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#property__hydrationCacheProfile">$_hydrationCacheProfile</a>
|
|
<span>
|
|
: <a href="classes/Doctrine-DBAL-Cache-QueryCacheProfile.html"><abbr title="\Doctrine\DBAL\Cache\QueryCacheProfile">QueryCacheProfile</abbr></a>|null </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#property__hydrationMode">$_hydrationMode</a>
|
|
<span>
|
|
: string|int </span>
|
|
</dt>
|
|
<dd>The hydration mode.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#property__queryCacheProfile">$_queryCacheProfile</a>
|
|
<span>
|
|
: <a href="classes/Doctrine-DBAL-Cache-QueryCacheProfile.html"><abbr title="\Doctrine\DBAL\Cache\QueryCacheProfile">QueryCacheProfile</abbr></a>|null </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#property__resultSetMapping">$_resultSetMapping</a>
|
|
<span>
|
|
: <a href="classes/Doctrine-ORM-Query-ResultSetMapping.html"><abbr title="\Doctrine\ORM\Query\ResultSetMapping">ResultSetMapping</abbr></a>|null </span>
|
|
</dt>
|
|
<dd>The user-specified ResultSetMapping to use.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#property_cacheable">$cacheable</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Whether to use second level cache, if available.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#property_cacheLogger">$cacheLogger</a>
|
|
<span>
|
|
: <a href="classes/Doctrine-ORM-Cache-Logging-CacheLogger.html"><abbr title="\Doctrine\ORM\Cache\Logging\CacheLogger">CacheLogger</abbr></a>|null </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#property_cacheMode">$cacheMode</a>
|
|
<span>
|
|
: int|null </span>
|
|
</dt>
|
|
<dd>Second level query cache mode.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#property_cacheRegion">$cacheRegion</a>
|
|
<span>
|
|
: string|null </span>
|
|
</dt>
|
|
<dd>Second level cache region name.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#property_hasCache">$hasCache</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#property_lifetime">$lifetime</a>
|
|
<span>
|
|
: int </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#property_parameters">$parameters</a>
|
|
<span>
|
|
: <a href="classes/Doctrine-Common-Collections-ArrayCollection.html"><abbr title="\Doctrine\Common\Collections\ArrayCollection">ArrayCollection</abbr></a>|array<string|int, <a href="classes/Doctrine-ORM-Query-Parameter.html"><abbr title="\Doctrine\ORM\Query\Parameter">Parameter</abbr></a>> </span>
|
|
</dt>
|
|
<dd>The parameter map of this query.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a href="classes/Doctrine-ORM-Query.html#property_dql">$dql</a>
|
|
<span>
|
|
: string|null </span>
|
|
</dt>
|
|
<dd>Cached DQL query.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a href="classes/Doctrine-ORM-Query.html#property_expireQueryCache">$expireQueryCache</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Whether or not expire the query cache.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a href="classes/Doctrine-ORM-Query.html#property_firstResult">$firstResult</a>
|
|
<span>
|
|
: int </span>
|
|
</dt>
|
|
<dd>The first result to return (the "offset").</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a href="classes/Doctrine-ORM-Query.html#property_maxResults">$maxResults</a>
|
|
<span>
|
|
: int|null </span>
|
|
</dt>
|
|
<dd>The maximum number of results to return (the "limit").</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a href="classes/Doctrine-ORM-Query.html#property_parsedTypes">$parsedTypes</a>
|
|
<span>
|
|
: array<string, <a href="classes/Doctrine-DBAL-Types-Type.html"><abbr title="\Doctrine\DBAL\Types\Type">Type</abbr></a>> </span>
|
|
</dt>
|
|
<dd>A snapshot of the parameter types the query was parsed with.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a href="classes/Doctrine-ORM-Query.html#property_parserResult">$parserResult</a>
|
|
<span>
|
|
: <a href="classes/Doctrine-ORM-Query-ParserResult.html"><abbr title="\Doctrine\ORM\Query\ParserResult">ParserResult</abbr></a> </span>
|
|
</dt>
|
|
<dd>The parser result that holds DQL => SQL information.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a href="classes/Doctrine-ORM-Query.html#property_queryCache">$queryCache</a>
|
|
<span>
|
|
: <a href="classes/Psr-Cache-CacheItemPoolInterface.html"><abbr title="\Psr\Cache\CacheItemPoolInterface">CacheItemPoolInterface</abbr></a>|null </span>
|
|
</dt>
|
|
<dd>The cache driver used for caching queries.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a href="classes/Doctrine-ORM-Query.html#property_queryCacheTTL">$queryCacheTTL</a>
|
|
<span>
|
|
: int|null </span>
|
|
</dt>
|
|
<dd>The query cache lifetime.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a href="classes/Doctrine-ORM-Query.html#property_state">$state</a>
|
|
<span>
|
|
: int </span>
|
|
</dt>
|
|
<dd>The current state of this query.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a href="classes/Doctrine-ORM-Query.html#property_useQueryCache">$useQueryCache</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Whether to use a query cache, if available. Defaults to TRUE.</dd>
|
|
|
|
</dl>
|
|
|
|
<h4 id="toc-methods">
|
|
Methods
|
|
<a href="classes/Doctrine-ORM-Query.html#toc-methods" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<dl class="phpdocumentor-table-of-contents">
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-Query.html#method___clone">__clone()</a>
|
|
<span>
|
|
: void </span>
|
|
</dt>
|
|
<dd>Cleanup Query resource when clone is called.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method___construct">__construct()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Initializes a new instance of a class derived from <tt>AbstractQuery</tt>.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-Query.html#method_contains">contains()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Method to check if an arbitrary piece of DQL exists</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_disableResultCache">disableResultCache()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Disables caching of the results of this query.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_enableResultCache">enableResultCache()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Enables caching of the results of this query, for given or default amount of seconds
|
|
and optionally specifies which ID to use for the cache entry.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_execute">execute()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Executes the query.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-Query.html#method_expireQueryCache">expireQueryCache()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Defines if the query cache is active or not.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_expireResultCache">expireResultCache()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Defines if the result cache is active or not.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-Query.html#method_free">free()</a>
|
|
<span>
|
|
: void </span>
|
|
</dt>
|
|
<dd>Frees the resources used by the query object.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getArrayResult">getArrayResult()</a>
|
|
<span>
|
|
: array<string|int, mixed> </span>
|
|
</dt>
|
|
<dd>Gets the array of results for the query.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-Query.html#method_getAST">getAST()</a>
|
|
<span>
|
|
: <a href="classes/Doctrine-ORM-Query-AST-SelectStatement.html"><abbr title="\Doctrine\ORM\Query\AST\SelectStatement">SelectStatement</abbr></a>|<a href="classes/Doctrine-ORM-Query-AST-UpdateStatement.html"><abbr title="\Doctrine\ORM\Query\AST\UpdateStatement">UpdateStatement</abbr></a>|<a href="classes/Doctrine-ORM-Query-AST-DeleteStatement.html"><abbr title="\Doctrine\ORM\Query\AST\DeleteStatement">DeleteStatement</abbr></a> </span>
|
|
</dt>
|
|
<dd>Returns the corresponding AST for this DQL query.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getCacheMode">getCacheMode()</a>
|
|
<span>
|
|
: int|null </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getCacheRegion">getCacheRegion()</a>
|
|
<span>
|
|
: string|null </span>
|
|
</dt>
|
|
<dd>Obtain the name of the second level query cache region in which query results will be stored</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-Query.html#method_getDQL">getDQL()</a>
|
|
<span>
|
|
: string|null </span>
|
|
</dt>
|
|
<dd>Returns the DQL query that is represented by this query object.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getEntityManager">getEntityManager()</a>
|
|
<span>
|
|
: <a href="classes/Doctrine-ORM-EntityManagerInterface.html"><abbr title="\Doctrine\ORM\EntityManagerInterface">EntityManagerInterface</abbr></a> </span>
|
|
</dt>
|
|
<dd>Retrieves the associated EntityManager of this Query instance.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-Query.html#method_getExpireQueryCache">getExpireQueryCache()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Retrieves if the query cache is active or not.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getExpireResultCache">getExpireResultCache()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Retrieves if the resultset cache is active or not.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-Query.html#method_getFirstResult">getFirstResult()</a>
|
|
<span>
|
|
: int </span>
|
|
</dt>
|
|
<dd>Gets the position of the first result the query object was set to retrieve (the "offset").</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getHint">getHint()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Gets the value of a query hint. If the hint name is not recognized, FALSE is returned.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getHints">getHints()</a>
|
|
<span>
|
|
: array<string, mixed> </span>
|
|
</dt>
|
|
<dd>Return the key value map of query hints that are currently set.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getHydrationCacheProfile">getHydrationCacheProfile()</a>
|
|
<span>
|
|
: <a href="classes/Doctrine-DBAL-Cache-QueryCacheProfile.html"><abbr title="\Doctrine\DBAL\Cache\QueryCacheProfile">QueryCacheProfile</abbr></a>|null </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getHydrationMode">getHydrationMode()</a>
|
|
<span>
|
|
: string|int </span>
|
|
</dt>
|
|
<dd>Gets the hydration mode currently used by the query.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getLifetime">getLifetime()</a>
|
|
<span>
|
|
: int </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-Query.html#method_getLockMode">getLockMode()</a>
|
|
<span>
|
|
: int|null </span>
|
|
</dt>
|
|
<dd>Get the current lock mode for this query.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-Query.html#method_getMaxResults">getMaxResults()</a>
|
|
<span>
|
|
: int|null </span>
|
|
</dt>
|
|
<dd>Gets the maximum number of results the query object was set to retrieve (the "limit").</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getOneOrNullResult">getOneOrNullResult()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Get exactly one result or null.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getParameter">getParameter()</a>
|
|
<span>
|
|
: <a href="classes/Doctrine-ORM-Query-Parameter.html"><abbr title="\Doctrine\ORM\Query\Parameter">Parameter</abbr></a>|null </span>
|
|
</dt>
|
|
<dd>Gets a query parameter.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getParameters">getParameters()</a>
|
|
<span>
|
|
: <a href="classes/Doctrine-Common-Collections-ArrayCollection.html"><abbr title="\Doctrine\Common\Collections\ArrayCollection">ArrayCollection</abbr></a> </span>
|
|
</dt>
|
|
<dd>Get all defined parameters.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-Query.html#method_getQueryCacheDriver">getQueryCacheDriver()</a>
|
|
<span>
|
|
: <a href="classes/Doctrine-Common-Cache-Cache.html"><abbr title="\Doctrine\Common\Cache\Cache">Cache</abbr></a>|null </span>
|
|
</dt>
|
|
<dd>Returns the cache driver used for query caching.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-Query.html#method_getQueryCacheLifetime">getQueryCacheLifetime()</a>
|
|
<span>
|
|
: int|null </span>
|
|
</dt>
|
|
<dd>Retrieves the lifetime of resultset cache.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getQueryCacheProfile">getQueryCacheProfile()</a>
|
|
<span>
|
|
: <a href="classes/Doctrine-DBAL-Cache-QueryCacheProfile.html"><abbr title="\Doctrine\DBAL\Cache\QueryCacheProfile">QueryCacheProfile</abbr></a>|null </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getResult">getResult()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Gets the list of results for the query.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getResultCacheDriver">getResultCacheDriver()</a>
|
|
<span>
|
|
: <a href="classes/Doctrine-Common-Cache-Cache.html"><abbr title="\Doctrine\Common\Cache\Cache">Cache</abbr></a> </span>
|
|
</dt>
|
|
<dd>Returns the cache driver used for caching result sets.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getResultCacheId">getResultCacheId()</a>
|
|
<span>
|
|
: string|null </span>
|
|
</dt>
|
|
<dd>Get the result cache id to use to store the result set cache entry if set.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getResultCacheLifetime">getResultCacheLifetime()</a>
|
|
<span>
|
|
: int </span>
|
|
</dt>
|
|
<dd>Retrieves the lifetime of resultset cache.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getScalarResult">getScalarResult()</a>
|
|
<span>
|
|
: array<string|int, mixed> </span>
|
|
</dt>
|
|
<dd>Gets the scalar results for the query.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getSingleColumnResult">getSingleColumnResult()</a>
|
|
<span>
|
|
: array<string|int, mixed> </span>
|
|
</dt>
|
|
<dd>Gets one-dimensional array of results for the query.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getSingleResult">getSingleResult()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Gets the single result of the query.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getSingleScalarResult">getSingleScalarResult()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Gets the single scalar result of the query.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-Query.html#method_getSQL">getSQL()</a>
|
|
<span>
|
|
: array<int, string>|string </span>
|
|
</dt>
|
|
<dd>Gets the SQL query/queries that correspond to this DQL query.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-Query.html#method_getState">getState()</a>
|
|
<span>
|
|
: int </span>
|
|
</dt>
|
|
<dd>Returns the state of this query object
|
|
By default the type is Doctrine_ORM_Query_Abstract::STATE_CLEAN but if it appears any unprocessed DQL
|
|
part, it is switched to Doctrine_ORM_Query_Abstract::STATE_DIRTY.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_hasHint">hasHint()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Check if the query has a hint</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_isCacheable">isCacheable()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-Query.html#method_iterate">iterate()</a>
|
|
<span>
|
|
: <a href="classes/Doctrine-ORM-Internal-Hydration-IterableResult.html"><abbr title="\Doctrine\ORM\Internal\Hydration\IterableResult">IterableResult</abbr></a> </span>
|
|
</dt>
|
|
<dd>Executes the query and returns an IterableResult that can be used to incrementally
|
|
iterated over the result.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_processParameterValue">processParameterValue()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Processes an individual parameter value.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_setCacheable">setCacheable()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Enable/disable second level query (result) caching for this query.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_setCacheMode">setCacheMode()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_setCacheRegion">setCacheRegion()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-Query.html#method_setDQL">setDQL()</a>
|
|
<span>
|
|
: self </span>
|
|
</dt>
|
|
<dd>Sets a DQL query string.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_setFetchMode">setFetchMode()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Change the default fetch mode of an association for this query.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-Query.html#method_setFirstResult">setFirstResult()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Sets the position of the first result to retrieve (the "offset").</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-Query.html#method_setHint">setHint()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Sets a query hint. If the hint name is not recognized, it is silently ignored.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_setHydrationCacheProfile">setHydrationCacheProfile()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Set a cache profile for hydration caching.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-Query.html#method_setHydrationMode">setHydrationMode()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Defines the processing mode to be used during hydration / result set transformation.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_setLifetime">setLifetime()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Sets the life-time for this query into second level cache.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-Query.html#method_setLockMode">setLockMode()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Set the lock mode for this Query.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-Query.html#method_setMaxResults">setMaxResults()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Sets the maximum number of results to retrieve (the "limit").</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_setParameter">setParameter()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Sets a query parameter.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_setParameters">setParameters()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Sets a collection of query parameters.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-Query.html#method_setQueryCache">setQueryCache()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Defines a cache driver to be used for caching queries.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-Query.html#method_setQueryCacheDriver">setQueryCacheDriver()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Defines a cache driver to be used for caching queries.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-Query.html#method_setQueryCacheLifetime">setQueryCacheLifetime()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Defines how long the query cache will be active before expire.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_setResultCache">setResultCache()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Defines a cache driver to be used for caching result sets and implicitly enables caching.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_setResultCacheDriver">setResultCacheDriver()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Defines a cache driver to be used for caching result sets and implicitly enables caching.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_setResultCacheId">setResultCacheId()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Set the result cache id to use to store the result set cache entry.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_setResultCacheLifetime">setResultCacheLifetime()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Defines how long the result cache will be active before expire.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_setResultCacheProfile">setResultCacheProfile()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Set a cache profile for the result cache.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_setResultSetMapping">setResultSetMapping()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Sets the ResultSetMapping that should be used for hydration.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-Query.html#method_toIterable">toIterable()</a>
|
|
<span>
|
|
: iterable<string|int, mixed> </span>
|
|
</dt>
|
|
<dd>Executes the query and returns an iterable that can be used to incrementally
|
|
iterate over the result.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-Query.html#method_useQueryCache">useQueryCache()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Defines whether the query should make use of a query cache, if available.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_useResultCache">useResultCache()</a>
|
|
<span>
|
|
: $this </span>
|
|
</dt>
|
|
<dd>Set whether or not to cache the results of this query and if so, for
|
|
how long and which ID to use for the cache entry.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a href="classes/Doctrine-ORM-Query.html#method__doExecute">_doExecute()</a>
|
|
<span>
|
|
: <abbr title="\Doctrine\DBAL\Result">Result</abbr>|int </span>
|
|
</dt>
|
|
<dd>Executes the query and returns a the resulting Statement object.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a href="classes/Doctrine-ORM-Query.html#method_getHash">getHash()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Generates a string of currently query to use for the cache second level cache.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getHydrationCacheId">getHydrationCacheId()</a>
|
|
<span>
|
|
: array<string|int, string> </span>
|
|
</dt>
|
|
<dd>Get the result cache id to use to store the result set cache entry.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a href="classes/Doctrine-ORM-Query.html#method_getQueryCacheId">getQueryCacheId()</a>
|
|
<span>
|
|
: string </span>
|
|
</dt>
|
|
<dd>Generate a cache id for the query cache - reusing the Result-Cache-Id generator.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a href="classes/Doctrine-ORM-Query.html#method_getResultSetMapping">getResultSetMapping()</a>
|
|
<span>
|
|
: <a href="classes/Doctrine-ORM-Query-ResultSetMapping.html"><abbr title="\Doctrine\ORM\Query\ResultSetMapping">ResultSetMapping</abbr></a> </span>
|
|
</dt>
|
|
<dd>Gets the ResultSetMapping used for hydration.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_isCacheEnabled">isCacheEnabled()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a href="classes/Doctrine-ORM-Query.html#method_evictEntityCacheRegion">evictEntityCacheRegion()</a>
|
|
<span>
|
|
: void </span>
|
|
</dt>
|
|
<dd>Evict entity cache region</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a href="classes/Doctrine-ORM-Query.html#method_evictResultSetCache">evictResultSetCache()</a>
|
|
<span>
|
|
: void </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_executeIgnoreQueryCache">executeIgnoreQueryCache()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Execute query ignoring second level cache.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_executeUsingQueryCache">executeUsingQueryCache()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Load from second level cache or executes the query and put into cache.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getHydrationCache">getHydrationCache()</a>
|
|
<span>
|
|
: <a href="classes/Psr-Cache-CacheItemPoolInterface.html"><abbr title="\Psr\Cache\CacheItemPoolInterface">CacheItemPoolInterface</abbr></a> </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getTimestampKey">getTimestampKey()</a>
|
|
<span>
|
|
: <a href="classes/Doctrine-ORM-Cache-TimestampCacheKey.html"><abbr title="\Doctrine\ORM\Cache\TimestampCacheKey">TimestampCacheKey</abbr></a>|null </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_isCountable">isCountable()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a href="classes/Doctrine-ORM-Query.html#method_parse">parse()</a>
|
|
<span>
|
|
: <a href="classes/Doctrine-ORM-Query-ParserResult.html"><abbr title="\Doctrine\ORM\Query\ParserResult">ParserResult</abbr></a> </span>
|
|
</dt>
|
|
<dd>Parses the DQL query, if necessary, and stores the parser result.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_potentiallyProcessIterable">potentiallyProcessIterable()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>If no mapping is detected, trying to resolve the value as a Traversable</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_processArrayParameterValue">processArrayParameterValue()</a>
|
|
<span>
|
|
: array<string|int, mixed> </span>
|
|
</dt>
|
|
<dd>Process a parameter value which was previously identified as an array</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a href="classes/Doctrine-ORM-Query.html#method_processParameterMappings">processParameterMappings()</a>
|
|
<span>
|
|
: array<string|int, array<string|int, mixed>> </span>
|
|
</dt>
|
|
<dd>Processes query parameter mappings.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a href="classes/Doctrine-ORM-Query.html#method_resolveParameterValue">resolveParameterValue()</a>
|
|
<span>
|
|
: array<string|int, mixed> </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_translateNamespaces">translateNamespaces()</a>
|
|
<span>
|
|
: void </span>
|
|
</dt>
|
|
<dd>Allows to translate entity namespaces to full qualified names.</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-constants">
|
|
<h3 class="phpdocumentor-elements__header" id="constants">
|
|
Constants
|
|
<a href="classes/Doctrine-ORM-Query.html#constants" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h3>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HINT_CACHE_ENABLED">
|
|
HINT_CACHE_ENABLED
|
|
<a href="classes/Doctrine-ORM-Query.html#constant_HINT_CACHE_ENABLED" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">70</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">HINT_CACHE_ENABLED</span>
|
|
= <span class="phpdocumentor-signature__default-value">'doctrine.cache.enabled'</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HINT_CACHE_EVICT">
|
|
HINT_CACHE_EVICT
|
|
<a href="classes/Doctrine-ORM-Query.html#constant_HINT_CACHE_EVICT" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">72</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">HINT_CACHE_EVICT</span>
|
|
= <span class="phpdocumentor-signature__default-value">'doctrine.cache.evict'</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HINT_CUSTOM_OUTPUT_WALKER">
|
|
HINT_CUSTOM_OUTPUT_WALKER
|
|
<a href="classes/Doctrine-ORM-Query.html#constant_HINT_CUSTOM_OUTPUT_WALKER" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">105</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">A string with a class name that implements \Doctrine\ORM\Query\TreeWalker
|
|
and is used for generating the target SQL from any DQL AST tree.</p>
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">HINT_CUSTOM_OUTPUT_WALKER</span>
|
|
= <span class="phpdocumentor-signature__default-value">'doctrine.customOutputWalker'</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HINT_CUSTOM_TREE_WALKERS">
|
|
HINT_CUSTOM_TREE_WALKERS
|
|
<a href="classes/Doctrine-ORM-Query.html#constant_HINT_CUSTOM_TREE_WALKERS" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">99</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">An array of class names that implement \Doctrine\ORM\Query\TreeWalker and
|
|
are iterated and executed after the DQL has been parsed into an AST.</p>
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">HINT_CUSTOM_TREE_WALKERS</span>
|
|
= <span class="phpdocumentor-signature__default-value">'doctrine.customTreeWalkers'</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HINT_FORCE_PARTIAL_LOAD">
|
|
HINT_FORCE_PARTIAL_LOAD
|
|
<a href="classes/Doctrine-ORM-Query.html#constant_HINT_FORCE_PARTIAL_LOAD" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">85</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">The forcePartialLoad query hint forces a particular query to return
|
|
partial objects.</p>
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">HINT_FORCE_PARTIAL_LOAD</span>
|
|
= <span class="phpdocumentor-signature__default-value">'doctrine.forcePartialLoad'</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-Query.html#constant_HINT_FORCE_PARTIAL_LOAD#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">todo</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>Rename: HINT_OPTIMIZE</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HINT_INCLUDE_META_COLUMNS">
|
|
HINT_INCLUDE_META_COLUMNS
|
|
<a href="classes/Doctrine-ORM-Query.html#constant_HINT_INCLUDE_META_COLUMNS" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">93</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">The includeMetaColumns query hint causes meta columns like foreign keys and
|
|
discriminator columns to be selected and returned as part of the query result.</p>
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">HINT_INCLUDE_META_COLUMNS</span>
|
|
= <span class="phpdocumentor-signature__default-value">'doctrine.includeMetaColumns'</span>
|
|
</code>
|
|
|
|
|
|
<section class="phpdocumentor-description"><p>This hint does only apply to non-object queries.</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HINT_INTERNAL_ITERATION">
|
|
HINT_INTERNAL_ITERATION
|
|
<a href="classes/Doctrine-ORM-Query.html#constant_HINT_INTERNAL_ITERATION" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">115</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">HINT_INTERNAL_ITERATION</span>
|
|
= <span class="phpdocumentor-signature__default-value">'doctrine.internal.iteration'</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HINT_LOCK_MODE">
|
|
HINT_LOCK_MODE
|
|
<a href="classes/Doctrine-ORM-Query.html#constant_HINT_LOCK_MODE" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">117</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">HINT_LOCK_MODE</span>
|
|
= <span class="phpdocumentor-signature__default-value">'doctrine.lockMode'</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HINT_READ_ONLY">
|
|
HINT_READ_ONLY
|
|
<a href="classes/Doctrine-ORM-Query.html#constant_HINT_READ_ONLY" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">113</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Marks queries as creating only read only objects.</p>
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">HINT_READ_ONLY</span>
|
|
= <span class="phpdocumentor-signature__default-value">'doctrine.readOnly'</span>
|
|
</code>
|
|
|
|
|
|
<section class="phpdocumentor-description"><p>If the object retrieved from the query is already in the identity map
|
|
then it does not get marked as read only if it wasn't already.</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HINT_REFRESH">
|
|
HINT_REFRESH
|
|
<a href="classes/Doctrine-ORM-Query.html#constant_HINT_REFRESH" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">68</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">The refresh hint turns any query into a refresh query with the result that
|
|
any local changes in entities are overridden with the fetched values.</p>
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">HINT_REFRESH</span>
|
|
= <span class="phpdocumentor-signature__default-value">'doctrine.refresh'</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HINT_REFRESH_ENTITY">
|
|
HINT_REFRESH_ENTITY
|
|
<a href="classes/Doctrine-ORM-Query.html#constant_HINT_REFRESH_ENTITY" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">77</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Internal hint: is set to the proxy entity that is currently triggered for loading</p>
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">HINT_REFRESH_ENTITY</span>
|
|
= <span class="phpdocumentor-signature__default-value">'doctrine.refresh.entity'</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HYDRATE_ARRAY">
|
|
HYDRATE_ARRAY
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#constant_HYDRATE_ARRAY" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">67</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Hydrates an array graph.</p>
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">HYDRATE_ARRAY</span>
|
|
= <span class="phpdocumentor-signature__default-value">2</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HYDRATE_OBJECT">
|
|
HYDRATE_OBJECT
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#constant_HYDRATE_OBJECT" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">62</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Hydrates an object graph. This is the default behavior.</p>
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">HYDRATE_OBJECT</span>
|
|
= <span class="phpdocumentor-signature__default-value">1</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HYDRATE_SCALAR">
|
|
HYDRATE_SCALAR
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#constant_HYDRATE_SCALAR" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">72</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Hydrates a flat, rectangular result set with scalar values.</p>
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">HYDRATE_SCALAR</span>
|
|
= <span class="phpdocumentor-signature__default-value">3</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HYDRATE_SCALAR_COLUMN">
|
|
HYDRATE_SCALAR_COLUMN
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#constant_HYDRATE_SCALAR_COLUMN" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">87</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Hydrates scalar column value.</p>
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">HYDRATE_SCALAR_COLUMN</span>
|
|
= <span class="phpdocumentor-signature__default-value">6</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HYDRATE_SIMPLEOBJECT">
|
|
HYDRATE_SIMPLEOBJECT
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#constant_HYDRATE_SIMPLEOBJECT" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">82</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Very simple object hydrator (optimized for performance).</p>
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">HYDRATE_SIMPLEOBJECT</span>
|
|
= <span class="phpdocumentor-signature__default-value">5</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_HYDRATE_SINGLE_SCALAR">
|
|
HYDRATE_SINGLE_SCALAR
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#constant_HYDRATE_SINGLE_SCALAR" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">77</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Hydrates a single scalar value.</p>
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">HYDRATE_SINGLE_SCALAR</span>
|
|
= <span class="phpdocumentor-signature__default-value">4</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_STATE_CLEAN">
|
|
STATE_CLEAN
|
|
<a href="classes/Doctrine-ORM-Query.html#constant_STATE_CLEAN" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">53</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">A query object is in CLEAN state when it has NO unparsed/unprocessed DQL parts.</p>
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">STATE_CLEAN</span>
|
|
= <span class="phpdocumentor-signature__default-value">1</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article class="phpdocumentor-element -constant -public ">
|
|
<h4 class="phpdocumentor-element__name" id="constant_STATE_DIRTY">
|
|
STATE_DIRTY
|
|
<a href="classes/Doctrine-ORM-Query.html#constant_STATE_DIRTY" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">60</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">A query object is in state DIRTY when it has DQL parts that have not yet been
|
|
parsed/processed. This is automatically defined as DIRTY when addDqlQueryPart
|
|
is called.</p>
|
|
|
|
<code class="phpdocumentor-signature phpdocumentor-code ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">STATE_DIRTY</span>
|
|
= <span class="phpdocumentor-signature__default-value">2</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
</section>
|
|
|
|
|
|
<section class="phpdocumentor-properties">
|
|
<h3 class="phpdocumentor-elements__header" id="properties">
|
|
Properties
|
|
<a href="classes/Doctrine-ORM-Query.html#properties" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h3>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property__em">
|
|
$_em
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#property__em" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">109</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">The entity manager used by this query object.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type"><a href="classes/Doctrine-ORM-EntityManagerInterface.html"><abbr title="\Doctrine\ORM\EntityManagerInterface">EntityManagerInterface</abbr></a></span>
|
|
<span class="phpdocumentor-signature__name">$_em</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property__expireResultCache">
|
|
$_expireResultCache
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#property__expireResultCache" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">134</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Whether or not expire the result cache.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type">bool</span>
|
|
<span class="phpdocumentor-signature__name">$_expireResultCache</span>
|
|
= <span class="phpdocumentor-signature__default-value">false</span></code>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property__hints">
|
|
$_hints
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#property__hints" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">116</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">The map of query hints.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">$_hints</span>
|
|
= <span class="phpdocumentor-signature__default-value">[]</span></code>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#property__hints#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-var</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>array<string, mixed></p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property__hydrationCacheProfile">
|
|
$_hydrationCacheProfile
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#property__hydrationCacheProfile" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">137</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type"><a href="classes/Doctrine-DBAL-Cache-QueryCacheProfile.html"><abbr title="\Doctrine\DBAL\Cache\QueryCacheProfile">QueryCacheProfile</abbr></a>|null</span>
|
|
<span class="phpdocumentor-signature__name">$_hydrationCacheProfile</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property__hydrationMode">
|
|
$_hydrationMode
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#property__hydrationMode" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">124</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">The hydration mode.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type">string|int</span>
|
|
<span class="phpdocumentor-signature__name">$_hydrationMode</span>
|
|
= <span class="phpdocumentor-signature__default-value">self::HYDRATE_OBJECT</span></code>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#property__hydrationMode#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-var</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>string|AbstractQuery::HYDRATE_*</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property__queryCacheProfile">
|
|
$_queryCacheProfile
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#property__queryCacheProfile" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">127</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type"><a href="classes/Doctrine-DBAL-Cache-QueryCacheProfile.html"><abbr title="\Doctrine\DBAL\Cache\QueryCacheProfile">QueryCacheProfile</abbr></a>|null</span>
|
|
<span class="phpdocumentor-signature__name">$_queryCacheProfile</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property__resultSetMapping">
|
|
$_resultSetMapping
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#property__resultSetMapping" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">102</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">The user-specified ResultSetMapping to use.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type"><a href="classes/Doctrine-ORM-Query-ResultSetMapping.html"><abbr title="\Doctrine\ORM\Query\ResultSetMapping">ResultSetMapping</abbr></a>|null</span>
|
|
<span class="phpdocumentor-signature__name">$_resultSetMapping</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_cacheable">
|
|
$cacheable
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#property_cacheable" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">144</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Whether to use second level cache, if available.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type">bool</span>
|
|
<span class="phpdocumentor-signature__name">$cacheable</span>
|
|
= <span class="phpdocumentor-signature__default-value">false</span></code>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_cacheLogger">
|
|
$cacheLogger
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#property_cacheLogger" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">165</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type"><a href="classes/Doctrine-ORM-Cache-Logging-CacheLogger.html"><abbr title="\Doctrine\ORM\Cache\Logging\CacheLogger">CacheLogger</abbr></a>|null</span>
|
|
<span class="phpdocumentor-signature__name">$cacheLogger</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_cacheMode">
|
|
$cacheMode
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#property_cacheMode" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">162</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Second level query cache mode.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type">int|null</span>
|
|
<span class="phpdocumentor-signature__name">$cacheMode</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#property_cacheMode#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-var</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>Cache::MODE_*|null</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_cacheRegion">
|
|
$cacheRegion
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#property_cacheRegion" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">154</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Second level cache region name.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type">string|null</span>
|
|
<span class="phpdocumentor-signature__name">$cacheRegion</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_hasCache">
|
|
$hasCache
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#property_hasCache" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">147</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type">bool</span>
|
|
<span class="phpdocumentor-signature__name">$hasCache</span>
|
|
= <span class="phpdocumentor-signature__default-value">false</span></code>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_lifetime">
|
|
$lifetime
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#property_lifetime" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">168</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type">int</span>
|
|
<span class="phpdocumentor-signature__name">$lifetime</span>
|
|
= <span class="phpdocumentor-signature__default-value">0</span></code>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_parameters">
|
|
$parameters
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#property_parameters" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">95</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">The parameter map of this query.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__type"><a href="classes/Doctrine-Common-Collections-ArrayCollection.html"><abbr title="\Doctrine\Common\Collections\ArrayCollection">ArrayCollection</abbr></a>|array<string|int, <a href="classes/Doctrine-ORM-Query-Parameter.html"><abbr title="\Doctrine\ORM\Query\Parameter">Parameter</abbr></a>></span>
|
|
<span class="phpdocumentor-signature__name">$parameters</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#property_parameters#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-var</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>ArrayCollection<int, Parameter></p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_dql">
|
|
$dql
|
|
<a href="classes/Doctrine-ORM-Query.html#property_dql" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">139</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Cached DQL query.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__type">string|null</span>
|
|
<span class="phpdocumentor-signature__name">$dql</span>
|
|
= <span class="phpdocumentor-signature__default-value">null</span></code>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_expireQueryCache">
|
|
$expireQueryCache
|
|
<a href="classes/Doctrine-ORM-Query.html#property_expireQueryCache" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">174</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Whether or not expire the query cache.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__type">bool</span>
|
|
<span class="phpdocumentor-signature__name">$expireQueryCache</span>
|
|
= <span class="phpdocumentor-signature__default-value">false</span></code>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_firstResult">
|
|
$firstResult
|
|
<a href="classes/Doctrine-ORM-Query.html#property_firstResult" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">153</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">The first result to return (the "offset").</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__type">int</span>
|
|
<span class="phpdocumentor-signature__name">$firstResult</span>
|
|
= <span class="phpdocumentor-signature__default-value">0</span></code>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_maxResults">
|
|
$maxResults
|
|
<a href="classes/Doctrine-ORM-Query.html#property_maxResults" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">160</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">The maximum number of results to return (the "limit").</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__type">int|null</span>
|
|
<span class="phpdocumentor-signature__name">$maxResults</span>
|
|
= <span class="phpdocumentor-signature__default-value">null</span></code>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_parsedTypes">
|
|
$parsedTypes
|
|
<a href="classes/Doctrine-ORM-Query.html#property_parsedTypes" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">132</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">A snapshot of the parameter types the query was parsed with.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__type">array<string, <a href="classes/Doctrine-DBAL-Types-Type.html"><abbr title="\Doctrine\DBAL\Types\Type">Type</abbr></a>></span>
|
|
<span class="phpdocumentor-signature__name">$parsedTypes</span>
|
|
= <span class="phpdocumentor-signature__default-value">[]</span></code>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_parserResult">
|
|
$parserResult
|
|
<a href="classes/Doctrine-ORM-Query.html#property_parserResult" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">146</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">The parser result that holds DQL => SQL information.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__type"><a href="classes/Doctrine-ORM-Query-ParserResult.html"><abbr title="\Doctrine\ORM\Query\ParserResult">ParserResult</abbr></a></span>
|
|
<span class="phpdocumentor-signature__name">$parserResult</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_queryCache">
|
|
$queryCache
|
|
<a href="classes/Doctrine-ORM-Query.html#property_queryCache" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">167</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">The cache driver used for caching queries.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__type"><a href="classes/Psr-Cache-CacheItemPoolInterface.html"><abbr title="\Psr\Cache\CacheItemPoolInterface">CacheItemPoolInterface</abbr></a>|null</span>
|
|
<span class="phpdocumentor-signature__name">$queryCache</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_queryCacheTTL">
|
|
$queryCacheTTL
|
|
<a href="classes/Doctrine-ORM-Query.html#property_queryCacheTTL" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">181</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">The query cache lifetime.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__type">int|null</span>
|
|
<span class="phpdocumentor-signature__name">$queryCacheTTL</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_state">
|
|
$state
|
|
<a href="classes/Doctrine-ORM-Query.html#property_state" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">125</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">The current state of this query.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__type">int</span>
|
|
<span class="phpdocumentor-signature__name">$state</span>
|
|
= <span class="phpdocumentor-signature__default-value">self::STATE_DIRTY</span></code>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-Query.html#property_state#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-var</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>self::STATE_*</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_useQueryCache">
|
|
$useQueryCache
|
|
<a href="classes/Doctrine-ORM-Query.html#property_useQueryCache" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
<span class="phpdocumentor-element__modifiers">
|
|
</span>
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">188</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Whether to use a query cache, if available. Defaults to TRUE.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__type">bool</span>
|
|
<span class="phpdocumentor-signature__name">$useQueryCache</span>
|
|
= <span class="phpdocumentor-signature__default-value">true</span></code>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
</section>
|
|
|
|
<section class="phpdocumentor-methods">
|
|
<h3 class="phpdocumentor-elements__header" id="methods">
|
|
Methods
|
|
<a href="classes/Doctrine-ORM-Query.html#methods" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h3>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method___clone">
|
|
__clone()
|
|
<a href="classes/Doctrine-ORM-Query.html#method___clone" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">830</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Cleanup Query resource when clone is called.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">__clone</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method___construct">
|
|
__construct()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method___construct" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">173</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Initializes a new instance of a class derived from <tt>AbstractQuery</tt>.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">__construct</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/Doctrine-ORM-EntityManagerInterface.html"><abbr title="\Doctrine\ORM\EntityManagerInterface">EntityManagerInterface</abbr></a> </span><span class="phpdocumentor-signature__argument__name">$em</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$em</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/Doctrine-ORM-EntityManagerInterface.html"><abbr title="\Doctrine\ORM\EntityManagerInterface">EntityManagerInterface</abbr></a></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_contains">
|
|
contains()
|
|
<a href="classes/Doctrine-ORM-Query.html#method_contains" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">646</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Method to check if an arbitrary piece of DQL exists</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">contains</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$dql</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$dql</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Arbitrary piece of DQL to check for.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">bool</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_disableResultCache">
|
|
disableResultCache()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_disableResultCache" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">750</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Disables caching of the results of this query.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">disableResultCache</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_enableResultCache">
|
|
enableResultCache()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_enableResultCache" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">737</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Enables caching of the results of this query, for given or default amount of seconds
|
|
and optionally specifies which ID to use for the cache entry.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">enableResultCache</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">int|null </span><span class="phpdocumentor-signature__argument__name">$lifetime</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|null </span><span class="phpdocumentor-signature__argument__name">$resultCacheId</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$lifetime</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">int|null</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>How long the cache entry is valid, in seconds.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$resultCacheId</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string|null</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>ID to use for the cache entry.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_execute">
|
|
execute()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_execute" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1160</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Executes the query.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">execute</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type"><a href="classes/Doctrine-Common-Collections-ArrayCollection.html"><abbr title="\Doctrine\Common\Collections\ArrayCollection">ArrayCollection</abbr></a>|array<string|int, mixed>|null </span><span class="phpdocumentor-signature__argument__name">$parameters</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|int|null </span><span class="phpdocumentor-signature__argument__name">$hydrationMode</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$parameters</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/Doctrine-Common-Collections-ArrayCollection.html"><abbr title="\Doctrine\Common\Collections\ArrayCollection">ArrayCollection</abbr></a>|array<string|int, mixed>|null</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Query parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$hydrationMode</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string|int|null</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Processing mode to be used during the hydration process.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_execute#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-param</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>ArrayCollection<int, Parameter>|mixed[]|null $parameters</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-param</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>string|AbstractQuery::HYDRATE_*|null $hydrationMode</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_expireQueryCache">
|
|
expireQueryCache()
|
|
<a href="classes/Doctrine-ORM-Query.html#method_expireQueryCache" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">570</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Defines if the query cache is active or not.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">expireQueryCache</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$expire</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">true</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$expire</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">true</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Whether or not to force query cache expiration.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_expireResultCache">
|
|
expireResultCache()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_expireResultCache" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">812</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Defines if the result cache is active or not.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">expireResultCache</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$expire</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">true</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$expire</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">true</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Whether or not to force resultset cache expiration.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_free">
|
|
free()
|
|
<a href="classes/Doctrine-ORM-Query.html#method_free" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">585</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Frees the resources used by the query object.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">free</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><p>Resets Parameters, Parameter Types and Query Hints.</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getArrayResult">
|
|
getArrayResult()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getArrayResult" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">911</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Gets the array of results for the query.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getArrayResult</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, mixed></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><p>Alias for execute(null, HYDRATE_ARRAY).</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, mixed></span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getAST">
|
|
getAST()
|
|
<a href="classes/Doctrine-ORM-Query.html#method_getAST" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">205</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Returns the corresponding AST for this DQL query.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getAST</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/Doctrine-ORM-Query-AST-SelectStatement.html"><abbr title="\Doctrine\ORM\Query\AST\SelectStatement">SelectStatement</abbr></a>|<a href="classes/Doctrine-ORM-Query-AST-UpdateStatement.html"><abbr title="\Doctrine\ORM\Query\AST\UpdateStatement">UpdateStatement</abbr></a>|<a href="classes/Doctrine-ORM-Query-AST-DeleteStatement.html"><abbr title="\Doctrine\ORM\Query\AST\DeleteStatement">DeleteStatement</abbr></a></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type"><a href="classes/Doctrine-ORM-Query-AST-SelectStatement.html"><abbr title="\Doctrine\ORM\Query\AST\SelectStatement">SelectStatement</abbr></a>|<a href="classes/Doctrine-ORM-Query-AST-UpdateStatement.html"><abbr title="\Doctrine\ORM\Query\AST\UpdateStatement">UpdateStatement</abbr></a>|<a href="classes/Doctrine-ORM-Query-AST-DeleteStatement.html"><abbr title="\Doctrine\ORM\Query\AST\DeleteStatement">DeleteStatement</abbr></a></span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getCacheMode">
|
|
getCacheMode()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getCacheMode" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">259</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getCacheMode</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int|null</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getCacheMode#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-return</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>Cache::MODE_*|null</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">int|null</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getCacheRegion">
|
|
getCacheRegion()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getCacheRegion" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">224</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Obtain the name of the second level query cache region in which query results will be stored</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getCacheRegion</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string|null</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string|null</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>The cache region name; NULL indicates the default region.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getDQL">
|
|
getDQL()
|
|
<a href="classes/Doctrine-ORM-Query.html#method_getDQL" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">620</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Returns the DQL query that is represented by this query object.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getDQL</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string|null</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string|null</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getEntityManager">
|
|
getEntityManager()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getEntityManager" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">291</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Retrieves the associated EntityManager of this Query instance.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getEntityManager</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/Doctrine-ORM-EntityManagerInterface.html"><abbr title="\Doctrine\ORM\EntityManagerInterface">EntityManagerInterface</abbr></a></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type"><a href="classes/Doctrine-ORM-EntityManagerInterface.html"><abbr title="\Doctrine\ORM\EntityManagerInterface">EntityManagerInterface</abbr></a></span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getExpireQueryCache">
|
|
getExpireQueryCache()
|
|
<a href="classes/Doctrine-ORM-Query.html#method_getExpireQueryCache" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">580</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Retrieves if the query cache is active or not.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getExpireQueryCache</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">bool</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getExpireResultCache">
|
|
getExpireResultCache()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getExpireResultCache" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">824</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Retrieves if the resultset cache is active or not.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getExpireResultCache</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">bool</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getFirstResult">
|
|
getFirstResult()
|
|
<a href="classes/Doctrine-ORM-Query.html#method_getFirstResult" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">684</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Gets the position of the first result the query object was set to retrieve (the "offset").</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getFirstResult</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><p>Returns 0 if <a href="setFirstResult"></a> was not applied to this query.</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">int</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>The position of the first result.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getHint">
|
|
getHint()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getHint" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1045</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Gets the value of a query hint. If the hint name is not recognized, FALSE is returned.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getHint</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$name</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$name</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The name of the hint.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>The value of the hint or FALSE, if the hint name is not recognized.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getHints">
|
|
getHints()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getHints" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1067</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Return the key value map of query hints that are currently set.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getHints</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string, mixed></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string, mixed></span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getHydrationCacheProfile">
|
|
getHydrationCacheProfile()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getHydrationCacheProfile" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">580</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getHydrationCacheProfile</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/Doctrine-DBAL-Cache-QueryCacheProfile.html"><abbr title="\Doctrine\DBAL\Cache\QueryCacheProfile">QueryCacheProfile</abbr></a>|null</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type"><a href="classes/Doctrine-DBAL-Cache-QueryCacheProfile.html"><abbr title="\Doctrine\DBAL\Cache\QueryCacheProfile">QueryCacheProfile</abbr></a>|null</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getHydrationMode">
|
|
getHydrationMode()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getHydrationMode" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">884</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Gets the hydration mode currently used by the query.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getHydrationMode</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string|int</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getHydrationMode#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-return</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>string|AbstractQuery::HYDRATE_*</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string|int</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getLifetime">
|
|
getLifetime()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getLifetime" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">236</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getLifetime</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">int</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getLockMode">
|
|
getLockMode()
|
|
<a href="classes/Doctrine-ORM-Query.html#method_getLockMode" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">795</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get the current lock mode for this query.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getLockMode</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int|null</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">int|null</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>The current lock mode of this query or NULL if no specific lock mode is set.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getMaxResults">
|
|
getMaxResults()
|
|
<a href="classes/Doctrine-ORM-Query.html#method_getMaxResults" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">714</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Gets the maximum number of results the query object was set to retrieve (the "limit").</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getMaxResults</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int|null</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><p>Returns NULL if <a href="setMaxResults"></a> was not applied to this query.</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">int|null</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Maximum number of results.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getOneOrNullResult">
|
|
getOneOrNullResult()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getOneOrNullResult" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">950</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get exactly one result or null.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getOneOrNullResult</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">string|int|null </span><span class="phpdocumentor-signature__argument__name">$hydrationMode</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$hydrationMode</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string|int|null</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getOneOrNullResult#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-param</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>string|AbstractQuery::HYDRATE_*|null $hydrationMode</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">throws</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/Doctrine-ORM-NonUniqueResultException.html"><abbr title="\Doctrine\ORM\NonUniqueResultException">NonUniqueResultException</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getParameter">
|
|
getParameter()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getParameter" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">328</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Gets a query parameter.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getParameter</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int|string </span><span class="phpdocumentor-signature__argument__name">$key</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/Doctrine-ORM-Query-Parameter.html"><abbr title="\Doctrine\ORM\Query\Parameter">Parameter</abbr></a>|null</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$key</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">int|string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The key (index or name) of the bound parameter.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type"><a href="classes/Doctrine-ORM-Query-Parameter.html"><abbr title="\Doctrine\ORM\Query\Parameter">Parameter</abbr></a>|null</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>The value of the bound parameter, or NULL if not available.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getParameters">
|
|
getParameters()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getParameters" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">316</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get all defined parameters.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getParameters</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/Doctrine-Common-Collections-ArrayCollection.html"><abbr title="\Doctrine\Common\Collections\ArrayCollection">ArrayCollection</abbr></a></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getParameters#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-return</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>ArrayCollection<int, Parameter></p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type"><a href="classes/Doctrine-Common-Collections-ArrayCollection.html"><abbr title="\Doctrine\Common\Collections\ArrayCollection">ArrayCollection</abbr></a></span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>The defined query parameters.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
-deprecated "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getQueryCacheDriver">
|
|
getQueryCacheDriver()
|
|
<a href="classes/Doctrine-ORM-Query.html#method_getQueryCacheDriver" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">523</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Returns the cache driver used for query caching.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature -deprecated">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getQueryCacheDriver</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/Doctrine-Common-Cache-Cache.html"><abbr title="\Doctrine\Common\Cache\Cache">Cache</abbr></a>|null</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-Query.html#method_getQueryCacheDriver#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">deprecated</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type"><a href="classes/Doctrine-Common-Cache-Cache.html"><abbr title="\Doctrine\Common\Cache\Cache">Cache</abbr></a>|null</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>The cache driver used for query caching or NULL, if
|
|
this Query does not use query caching.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getQueryCacheLifetime">
|
|
getQueryCacheLifetime()
|
|
<a href="classes/Doctrine-ORM-Query.html#method_getQueryCacheLifetime" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">558</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Retrieves the lifetime of resultset cache.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getQueryCacheLifetime</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int|null</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">int|null</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getQueryCacheProfile">
|
|
getQueryCacheProfile()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getQueryCacheProfile" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">830</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getQueryCacheProfile</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/Doctrine-DBAL-Cache-QueryCacheProfile.html"><abbr title="\Doctrine\DBAL\Cache\QueryCacheProfile">QueryCacheProfile</abbr></a>|null</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type"><a href="classes/Doctrine-DBAL-Cache-QueryCacheProfile.html"><abbr title="\Doctrine\DBAL\Cache\QueryCacheProfile">QueryCacheProfile</abbr></a>|null</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getResult">
|
|
getResult()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getResult" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">899</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Gets the list of results for the query.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getResult</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">string|int </span><span class="phpdocumentor-signature__argument__name">$hydrationMode</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">self::HYDRATE_OBJECT</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><p>Alias for execute(null, $hydrationMode = HYDRATE_OBJECT).</p>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$hydrationMode</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string|int</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">self::HYDRATE_OBJECT</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getResult#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-param</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>string|AbstractQuery::HYDRATE_* $hydrationMode</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
-deprecated "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getResultCacheDriver">
|
|
getResultCacheDriver()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getResultCacheDriver" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">700</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Returns the cache driver used for caching result sets.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature -deprecated">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getResultCacheDriver</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/Doctrine-Common-Cache-Cache.html"><abbr title="\Doctrine\Common\Cache\Cache">Cache</abbr></a></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getResultCacheDriver#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">deprecated</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type"><a href="classes/Doctrine-Common-Cache-Cache.html"><abbr title="\Doctrine\Common\Cache\Cache">Cache</abbr></a></span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Cache driver</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
-deprecated "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getResultCacheId">
|
|
getResultCacheId()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getResultCacheId" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1370</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get the result cache id to use to store the result set cache entry if set.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature -deprecated">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getResultCacheId</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string|null</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getResultCacheId#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">deprecated</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string|null</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
-deprecated "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getResultCacheLifetime">
|
|
getResultCacheLifetime()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getResultCacheLifetime" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">800</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Retrieves the lifetime of resultset cache.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature -deprecated">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getResultCacheLifetime</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getResultCacheLifetime#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">deprecated</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">int</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getScalarResult">
|
|
getScalarResult()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getScalarResult" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">935</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Gets the scalar results for the query.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getScalarResult</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, mixed></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><p>Alias for execute(null, HYDRATE_SCALAR).</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, mixed></span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getSingleColumnResult">
|
|
getSingleColumnResult()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getSingleColumnResult" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">923</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Gets one-dimensional array of results for the query.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getSingleColumnResult</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, mixed></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><p>Alias for execute(null, HYDRATE_SCALAR_COLUMN).</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, mixed></span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getSingleResult">
|
|
getSingleResult()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getSingleResult" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">989</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Gets the single result of the query.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getSingleResult</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">string|int|null </span><span class="phpdocumentor-signature__argument__name">$hydrationMode</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><p>Enforces the presence as well as the uniqueness of the result.</p>
|
|
<p>If the result is not unique, a NonUniqueResultException is thrown.
|
|
If there is no result, a NoResultException is thrown.</p>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$hydrationMode</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string|int|null</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getSingleResult#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-param</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>string|AbstractQuery::HYDRATE_*|null $hydrationMode</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">throws</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/Doctrine-ORM-NonUniqueResultException.html"><abbr title="\Doctrine\ORM\NonUniqueResultException">NonUniqueResultException</abbr></a></span>
|
|
|
|
<section class="phpdocumentor-description"><p>If the query result is not unique.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">throws</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/Doctrine-ORM-NoResultException.html"><abbr title="\Doctrine\ORM\NoResultException">NoResultException</abbr></a></span>
|
|
|
|
<section class="phpdocumentor-description"><p>If the query returned no result.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getSingleScalarResult">
|
|
getSingleScalarResult()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getSingleScalarResult" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1018</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Gets the single scalar result of the query.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getSingleScalarResult</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><p>Alias for getSingleResult(HYDRATE_SINGLE_SCALAR).</p>
|
|
</section>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getSingleScalarResult#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">throws</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/Doctrine-ORM-NoResultException.html"><abbr title="\Doctrine\ORM\NoResultException">NoResultException</abbr></a></span>
|
|
|
|
<section class="phpdocumentor-description"><p>If the query returned no result.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">throws</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/Doctrine-ORM-NonUniqueResultException.html"><abbr title="\Doctrine\ORM\NonUniqueResultException">NonUniqueResultException</abbr></a></span>
|
|
|
|
<section class="phpdocumentor-description"><p>If the query result is not unique.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">mixed</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>The scalar result.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getSQL">
|
|
getSQL()
|
|
<a href="classes/Doctrine-ORM-Query.html#method_getSQL" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">195</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Gets the SQL query/queries that correspond to this DQL query.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getSQL</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<int, string>|string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<int, string>|string</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>The built sql query or an array of all sql queries.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getState">
|
|
getState()
|
|
<a href="classes/Doctrine-ORM-Query.html#method_getState" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">636</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Returns the state of this query object
|
|
By default the type is Doctrine_ORM_Query_Abstract::STATE_CLEAN but if it appears any unprocessed DQL
|
|
part, it is switched to Doctrine_ORM_Query_Abstract::STATE_DIRTY.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getState</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">int</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-Query.html#method_getState#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">see</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\Doctrine\ORM\AbstractQuery::STATE_CLEAN">AbstractQuery::STATE_CLEAN</abbr></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">see</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><abbr title="\Doctrine\ORM\AbstractQuery::STATE_DIRTY">AbstractQuery::STATE_DIRTY</abbr></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-return</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>self::STATE_* The query state.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">int</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>The query state.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_hasHint">
|
|
hasHint()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_hasHint" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1057</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Check if the query has a hint</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">hasHint</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$name</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$name</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The name of the hint</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">bool</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>False if the query does not have any hint</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_isCacheable">
|
|
isCacheable()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_isCacheable" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">202</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">isCacheable</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">bool</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>TRUE if the query results are enabled for second level cache, FALSE otherwise.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
-deprecated "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_iterate">
|
|
iterate()
|
|
<a href="classes/Doctrine-ORM-Query.html#method_iterate" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">730</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Executes the query and returns an IterableResult that can be used to incrementally
|
|
iterated over the result.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature -deprecated">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">iterate</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type"><a href="classes/Doctrine-Common-Collections-ArrayCollection.html"><abbr title="\Doctrine\Common\Collections\ArrayCollection">ArrayCollection</abbr></a>|array<string|int, mixed>|null </span><span class="phpdocumentor-signature__argument__name">$parameters</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|int </span><span class="phpdocumentor-signature__argument__name">$hydrationMode</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">self::HYDRATE_OBJECT</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/Doctrine-ORM-Internal-Hydration-IterableResult.html"><abbr title="\Doctrine\ORM\Internal\Hydration\IterableResult">IterableResult</abbr></a></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$parameters</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/Doctrine-Common-Collections-ArrayCollection.html"><abbr title="\Doctrine\Common\Collections\ArrayCollection">ArrayCollection</abbr></a>|array<string|int, mixed>|null</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The query parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$hydrationMode</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string|int</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">self::HYDRATE_OBJECT</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The hydration mode to use.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-Query.html#method_iterate#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">deprecated</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-param</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>ArrayCollection<int, Parameter>|array<string, mixed>|null $parameters</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-param</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>string|AbstractQuery::HYDRATE_*|null $hydrationMode</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type"><a href="classes/Doctrine-ORM-Internal-Hydration-IterableResult.html"><abbr title="\Doctrine\ORM\Internal\Hydration\IterableResult">IterableResult</abbr></a></span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_processParameterValue">
|
|
processParameterValue()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_processParameterValue" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">404</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Processes an individual parameter value.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">processParameterValue</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$value</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$value</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_processParameterValue#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">throws</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/Doctrine-ORM-ORMInvalidArgumentException.html"><abbr title="\Doctrine\ORM\ORMInvalidArgumentException">ORMInvalidArgumentException</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setCacheable">
|
|
setCacheable()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_setCacheable" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">194</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Enable/disable second level query (result) caching for this query.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setCacheable</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$cacheable</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$cacheable</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setCacheMode">
|
|
setCacheMode()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_setCacheMode" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">270</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setCacheMode</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$cacheMode</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$cacheMode</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">int</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_setCacheMode#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-param</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>Cache::MODE_* $cacheMode</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setCacheRegion">
|
|
setCacheRegion()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_setCacheRegion" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">212</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setCacheRegion</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$cacheRegion</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$cacheRegion</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setDQL">
|
|
setDQL()
|
|
<a href="classes/Doctrine-ORM-Query.html#method_setDQL" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">598</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Sets a DQL query string.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setDQL</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string|null </span><span class="phpdocumentor-signature__argument__name">$dqlQuery</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">self</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$dqlQuery</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string|null</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>DQL Query.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">self</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setFetchMode">
|
|
setFetchMode()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_setFetchMode" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">845</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Change the default fetch mode of an association for this query.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setFetchMode</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">class-string </span><span class="phpdocumentor-signature__argument__name">$class</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$assocName</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$fetchMode</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$class</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">class-string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$assocName</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$fetchMode</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">int</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_setFetchMode#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-param</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>Mapping\ClassMetadata::FETCH_EAGER|Mapping\ClassMetadata::FETCH_LAZY $fetchMode</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setFirstResult">
|
|
setFirstResult()
|
|
<a href="classes/Doctrine-ORM-Query.html#method_setFirstResult" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">658</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Sets the position of the first result to retrieve (the "offset").</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setFirstResult</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int|null </span><span class="phpdocumentor-signature__argument__name">$firstResult</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$firstResult</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">int|null</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The first result to return.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setHint">
|
|
setHint()
|
|
<a href="classes/Doctrine-ORM-Query.html#method_setHint" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">748</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Sets a query hint. If the hint name is not recognized, it is silently ignored.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setHint</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$name</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$value</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$name</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The name of the hint.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$value</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The value of the hint.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setHydrationCacheProfile">
|
|
setHydrationCacheProfile()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_setHydrationCacheProfile" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">542</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Set a cache profile for hydration caching.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setHydrationCacheProfile</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type"><a href="classes/Doctrine-DBAL-Cache-QueryCacheProfile.html"><abbr title="\Doctrine\DBAL\Cache\QueryCacheProfile">QueryCacheProfile</abbr></a>|null </span><span class="phpdocumentor-signature__argument__name">$profile</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><p>If no result cache driver is set in the QueryCacheProfile, the default
|
|
result cache driver is used from the configuration.</p>
|
|
<p>Important: Hydration caching does NOT register entities in the
|
|
UnitOfWork when retrieved from the cache. Never use result cached
|
|
entities for requests that also flush the EntityManager. If you want
|
|
some form of caching with UnitOfWork registration you should use
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_setResultCacheProfile"><abbr title="\Doctrine\ORM\AbstractQuery::setResultCacheProfile()">AbstractQuery::setResultCacheProfile()</abbr></a>.</p>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$profile</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/Doctrine-DBAL-Cache-QueryCacheProfile.html"><abbr title="\Doctrine\DBAL\Cache\QueryCacheProfile">QueryCacheProfile</abbr></a>|null</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_setHydrationCacheProfile#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">example</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>$lifetime = 100;
|
|
$resultKey = "abc";
|
|
$query->setHydrationCacheProfile(new QueryCacheProfile());
|
|
$query->setHydrationCacheProfile(new QueryCacheProfile($lifetime, $resultKey));</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setHydrationMode">
|
|
setHydrationMode()
|
|
<a href="classes/Doctrine-ORM-Query.html#method_setHydrationMode" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">758</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Defines the processing mode to be used during hydration / result set transformation.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setHydrationMode</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$hydrationMode</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$hydrationMode</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Doctrine processing mode to be used during hydration process.
|
|
One of the Query::HYDRATE_* constants.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setLifetime">
|
|
setLifetime()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_setLifetime" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">248</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Sets the life-time for this query into second level cache.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setLifetime</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$lifetime</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$lifetime</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">int</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setLockMode">
|
|
setLockMode()
|
|
<a href="classes/Doctrine-ORM-Query.html#method_setLockMode" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">777</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Set the lock mode for this Query.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setLockMode</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$lockMode</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$lockMode</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">int</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-Query.html#method_setLockMode#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">see</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/Doctrine-DBAL-LockMode.html"><abbr title="\Doctrine\DBAL\LockMode">LockMode</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-param</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>LockMode::* $lockMode</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">throws</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/Doctrine-ORM-TransactionRequiredException.html"><abbr title="\Doctrine\ORM\TransactionRequiredException">TransactionRequiredException</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setMaxResults">
|
|
setMaxResults()
|
|
<a href="classes/Doctrine-ORM-Query.html#method_setMaxResults" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">696</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Sets the maximum number of results to retrieve (the "limit").</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setMaxResults</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int|null </span><span class="phpdocumentor-signature__argument__name">$maxResults</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$maxResults</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">int|null</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setParameter">
|
|
setParameter()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_setParameter" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">380</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Sets a query parameter.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setParameter</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string|int </span><span class="phpdocumentor-signature__argument__name">$key</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$value</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|int|null </span><span class="phpdocumentor-signature__argument__name">$type</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$key</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string|int</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The parameter position or name.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$value</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The parameter value.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$type</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string|int|null</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The parameter type. If specified, the given value will be run through
|
|
the type conversion of this type. This is usually not needed for
|
|
strings and numeric types.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setParameters">
|
|
setParameters()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_setParameters" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">351</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Sets a collection of query parameters.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setParameters</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/Doctrine-Common-Collections-ArrayCollection.html"><abbr title="\Doctrine\Common\Collections\ArrayCollection">ArrayCollection</abbr></a>|array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$parameters</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$parameters</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/Doctrine-Common-Collections-ArrayCollection.html"><abbr title="\Doctrine\Common\Collections\ArrayCollection">ArrayCollection</abbr></a>|array<string|int, mixed></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_setParameters#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-param</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>ArrayCollection<int, Parameter>|mixed[] $parameters</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setQueryCache">
|
|
setQueryCache()
|
|
<a href="classes/Doctrine-ORM-Query.html#method_setQueryCache" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">494</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Defines a cache driver to be used for caching queries.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setQueryCache</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/Psr-Cache-CacheItemPoolInterface.html"><abbr title="\Psr\Cache\CacheItemPoolInterface">CacheItemPoolInterface</abbr></a>|null </span><span class="phpdocumentor-signature__argument__name">$queryCache</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$queryCache</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/Psr-Cache-CacheItemPoolInterface.html"><abbr title="\Psr\Cache\CacheItemPoolInterface">CacheItemPoolInterface</abbr></a>|null</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
-deprecated "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setQueryCacheDriver">
|
|
setQueryCacheDriver()
|
|
<a href="classes/Doctrine-ORM-Query.html#method_setQueryCacheDriver" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">475</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Defines a cache driver to be used for caching queries.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature -deprecated">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setQueryCacheDriver</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/Doctrine-Common-Cache-Cache.html"><abbr title="\Doctrine\Common\Cache\Cache">Cache</abbr></a>|null </span><span class="phpdocumentor-signature__argument__name">$queryCache</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$queryCache</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/Doctrine-Common-Cache-Cache.html"><abbr title="\Doctrine\Common\Cache\Cache">Cache</abbr></a>|null</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Cache driver.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-Query.html#method_setQueryCacheDriver#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">deprecated</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>Call <abbr title="\Doctrine\ORM\setQueryCache()">setQueryCache()</abbr> instead.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setQueryCacheLifetime">
|
|
setQueryCacheLifetime()
|
|
<a href="classes/Doctrine-ORM-Query.html#method_setQueryCacheLifetime" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">544</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Defines how long the query cache will be active before expire.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setQueryCacheLifetime</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int|null </span><span class="phpdocumentor-signature__argument__name">$timeToLive</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$timeToLive</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">int|null</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>How long the cache entry is valid.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setResultCache">
|
|
setResultCache()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_setResultCache" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">656</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Defines a cache driver to be used for caching result sets and implicitly enables caching.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setResultCache</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type"><a href="classes/Psr-Cache-CacheItemPoolInterface.html"><abbr title="\Psr\Cache\CacheItemPoolInterface">CacheItemPoolInterface</abbr></a>|null </span><span class="phpdocumentor-signature__argument__name">$resultCache</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$resultCache</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/Psr-Cache-CacheItemPoolInterface.html"><abbr title="\Psr\Cache\CacheItemPoolInterface">CacheItemPoolInterface</abbr></a>|null</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
-deprecated "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setResultCacheDriver">
|
|
setResultCacheDriver()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_setResultCacheDriver" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">641</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Defines a cache driver to be used for caching result sets and implicitly enables caching.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature -deprecated">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setResultCacheDriver</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type"><a href="classes/Doctrine-Common-Cache-Cache.html"><abbr title="\Doctrine\Common\Cache\Cache">Cache</abbr></a>|null </span><span class="phpdocumentor-signature__argument__name">$resultCacheDriver</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$resultCacheDriver</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/Doctrine-Common-Cache-Cache.html"><abbr title="\Doctrine\Common\Cache\Cache">Cache</abbr></a>|null</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Cache driver</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_setResultCacheDriver#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">deprecated</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>Use <abbr title="\Doctrine\ORM\setResultCache()">setResultCache()</abbr> instead.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">throws</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/Doctrine-ORM-Cache-Exception-InvalidResultCacheDriver.html"><abbr title="\Doctrine\ORM\Cache\Exception\InvalidResultCacheDriver">InvalidResultCacheDriver</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setResultCacheId">
|
|
setResultCacheId()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_setResultCacheId" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1352</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Set the result cache id to use to store the result set cache entry.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setResultCacheId</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">string|null </span><span class="phpdocumentor-signature__argument__name">$id</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><p>If this is not explicitly set by the developer then a hash is automatically
|
|
generated for you.</p>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$id</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string|null</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setResultCacheLifetime">
|
|
setResultCacheLifetime()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_setResultCacheLifetime" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">764</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Defines how long the result cache will be active before expire.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setResultCacheLifetime</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int|null </span><span class="phpdocumentor-signature__argument__name">$lifetime</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$lifetime</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">int|null</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>How long the cache entry is valid, in seconds.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setResultCacheProfile">
|
|
setResultCacheProfile()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_setResultCacheProfile" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">593</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Set a cache profile for the result cache.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setResultCacheProfile</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type"><a href="classes/Doctrine-DBAL-Cache-QueryCacheProfile.html"><abbr title="\Doctrine\DBAL\Cache\QueryCacheProfile">QueryCacheProfile</abbr></a>|null </span><span class="phpdocumentor-signature__argument__name">$profile</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><p>If no result cache driver is set in the QueryCacheProfile, the default
|
|
result cache driver is used from the configuration.</p>
|
|
</section>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$profile</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/Doctrine-DBAL-Cache-QueryCacheProfile.html"><abbr title="\Doctrine\DBAL\Cache\QueryCacheProfile">QueryCacheProfile</abbr></a>|null</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setResultSetMapping">
|
|
setResultSetMapping()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_setResultSetMapping" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">491</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Sets the ResultSetMapping that should be used for hydration.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setResultSetMapping</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/Doctrine-ORM-Query-ResultSetMapping.html"><abbr title="\Doctrine\ORM\Query\ResultSetMapping">ResultSetMapping</abbr></a> </span><span class="phpdocumentor-signature__argument__name">$rsm</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$rsm</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/Doctrine-ORM-Query-ResultSetMapping.html"><abbr title="\Doctrine\ORM\Query\ResultSetMapping">ResultSetMapping</abbr></a></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_toIterable">
|
|
toIterable()
|
|
<a href="classes/Doctrine-ORM-Query.html#method_toIterable" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">738</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Executes the query and returns an iterable that can be used to incrementally
|
|
iterate over the result.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">toIterable</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type">iterable<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$parameters</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">[]</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$hydrationMode</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">self::HYDRATE_OBJECT</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">iterable<string|int, mixed></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$parameters</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">iterable<string|int, mixed></span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">[]</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The query parameters.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$hydrationMode</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">self::HYDRATE_OBJECT</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The hydration mode to use.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">iterable<string|int, mixed></span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_useQueryCache">
|
|
useQueryCache()
|
|
<a href="classes/Doctrine-ORM-Query.html#method_useQueryCache" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">508</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Defines whether the query should make use of a query cache, if available.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">useQueryCache</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$bool</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$bool</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
-deprecated "
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_useResultCache">
|
|
useResultCache()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_useResultCache" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">721</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Set whether or not to cache the results of this query and if so, for
|
|
how long and which ID to use for the cache entry.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature -deprecated">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">useResultCache</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$useCache</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$lifetime</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string </span><span class="phpdocumentor-signature__argument__name">$resultCacheId</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">$this</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$useCache</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Whether or not to cache the results of this query.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$lifetime</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">int</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>How long the cache entry is valid, in seconds.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$resultCacheId</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>ID to use for the cache entry.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_useResultCache#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">deprecated</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link">2.7</span>
|
|
|
|
<section class="phpdocumentor-description"><p>Use <abbr title="\Doctrine\ORM\enableResultCache">enableResultCache</abbr> and <abbr title="\Doctrine\ORM\disableResultCache">disableResultCache</abbr> instead.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">$this</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method__doExecute">
|
|
_doExecute()
|
|
<a href="classes/Doctrine-ORM-Query.html#method__doExecute" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">284</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Executes the query and returns a the resulting Statement object.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__name">_doExecute</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><abbr title="\Doctrine\DBAL\Result">Result</abbr>|int</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type"><abbr title="\Doctrine\DBAL\Result">Result</abbr>|int</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>The executed database statement that holds
|
|
the results, or an integer indicating how
|
|
many rows were affected.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getHash">
|
|
getHash()
|
|
<a href="classes/Doctrine-ORM-Query.html#method_getHash" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">822</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Generates a string of currently query to use for the cache second level cache.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__name">getHash</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getHydrationCacheId">
|
|
getHydrationCacheId()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getHydrationCacheId" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1321</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Get the result cache id to use to store the result set cache entry.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__name">getHydrationCacheId</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, string></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><p>Will return the configured id if it exists otherwise a hash will be
|
|
automatically generated for you.</p>
|
|
</section>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getHydrationCacheId#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-return</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>array{string, string} ($key, $hash)</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, string></span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>($key, $hash)</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getQueryCacheId">
|
|
getQueryCacheId()
|
|
<a href="classes/Doctrine-ORM-Query.html#method_getQueryCacheId" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">809</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Generate a cache id for the query cache - reusing the Result-Cache-Id generator.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__name">getQueryCacheId</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">string</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">string</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getResultSetMapping">
|
|
getResultSetMapping()
|
|
<a href="classes/Doctrine-ORM-Query.html#method_getResultSetMapping" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">217</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Gets the ResultSetMapping used for hydration.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__name">getResultSetMapping</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/Doctrine-ORM-Query-ResultSetMapping.html"><abbr title="\Doctrine\ORM\Query\ResultSetMapping">ResultSetMapping</abbr></a></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type"><a href="classes/Doctrine-ORM-Query-ResultSetMapping.html"><abbr title="\Doctrine\ORM\Query\ResultSetMapping">ResultSetMapping</abbr></a></span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_isCacheEnabled">
|
|
isCacheEnabled()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_isCacheEnabled" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">230</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__name">isCacheEnabled</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">bool</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>TRUE if the query cache and second level cache are enabled, FALSE otherwise.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_evictEntityCacheRegion">
|
|
evictEntityCacheRegion()
|
|
<a href="classes/Doctrine-ORM-Query.html#method_evictEntityCacheRegion" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">363</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Evict entity cache region</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">evictEntityCacheRegion</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_evictResultSetCache">
|
|
evictResultSetCache()
|
|
<a href="classes/Doctrine-ORM-Query.html#method_evictResultSetCache" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">333</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">evictResultSetCache</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/Doctrine-ORM-Query-Exec-AbstractSqlExecutor.html"><abbr title="\Doctrine\ORM\Query\Exec\AbstractSqlExecutor">AbstractSqlExecutor</abbr></a> </span><span class="phpdocumentor-signature__argument__name">$executor</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">array<string, mixed> </span><span class="phpdocumentor-signature__argument__name">$sqlParams</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">array<string, <a href="classes/Doctrine-DBAL-Types-Type.html"><abbr title="\Doctrine\DBAL\Types\Type">Type</abbr></a>> </span><span class="phpdocumentor-signature__argument__name">$types</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">array<string, mixed> </span><span class="phpdocumentor-signature__argument__name">$connectionParams</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$executor</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/Doctrine-ORM-Query-Exec-AbstractSqlExecutor.html"><abbr title="\Doctrine\ORM\Query\Exec\AbstractSqlExecutor">AbstractSqlExecutor</abbr></a></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$sqlParams</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">array<string, mixed></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$types</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">array<string, <a href="classes/Doctrine-DBAL-Types-Type.html"><abbr title="\Doctrine\DBAL\Types\Type">Type</abbr></a>></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$connectionParams</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">array<string, mixed></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_executeIgnoreQueryCache">
|
|
executeIgnoreQueryCache()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_executeIgnoreQueryCache" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1179</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Execute query ignoring second level cache.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">executeIgnoreQueryCache</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type"><a href="classes/Doctrine-Common-Collections-ArrayCollection.html"><abbr title="\Doctrine\Common\Collections\ArrayCollection">ArrayCollection</abbr></a>|array<string|int, mixed>|null </span><span class="phpdocumentor-signature__argument__name">$parameters</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|int|null </span><span class="phpdocumentor-signature__argument__name">$hydrationMode</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$parameters</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/Doctrine-Common-Collections-ArrayCollection.html"><abbr title="\Doctrine\Common\Collections\ArrayCollection">ArrayCollection</abbr></a>|array<string|int, mixed>|null</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$hydrationMode</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string|int|null</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_executeIgnoreQueryCache#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-param</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>ArrayCollection<int, Parameter>|mixed[]|null $parameters</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-param</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>string|AbstractQuery::HYDRATE_*|null $hydrationMode</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_executeUsingQueryCache">
|
|
executeUsingQueryCache()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_executeUsingQueryCache" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1260</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Load from second level cache or executes the query and put into cache.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">executeUsingQueryCache</span><span>(</span><span class="phpdocumentor-signature__argument"><span>[</span><span class="phpdocumentor-signature__argument__return-type"><a href="classes/Doctrine-Common-Collections-ArrayCollection.html"><abbr title="\Doctrine\Common\Collections\ArrayCollection">ArrayCollection</abbr></a>|array<string|int, mixed>|null </span><span class="phpdocumentor-signature__argument__name">$parameters</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">string|int|null </span><span class="phpdocumentor-signature__argument__name">$hydrationMode</span><span> = </span><span class="phpdocumentor-signature__argument__default-value">null</span><span> ]</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$parameters</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/Doctrine-Common-Collections-ArrayCollection.html"><abbr title="\Doctrine\Common\Collections\ArrayCollection">ArrayCollection</abbr></a>|array<string|int, mixed>|null</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$hydrationMode</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">string|int|null</span>
|
|
= <span class="phpdocumentor-signature__argument__default-value">null</span> </dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_executeUsingQueryCache#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-param</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>ArrayCollection<int, Parameter>|mixed[]|null $parameters</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-param</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>string|AbstractQuery::HYDRATE_*|null $hydrationMode</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getHydrationCache">
|
|
getHydrationCache()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getHydrationCache" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1232</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">getHydrationCache</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/Psr-Cache-CacheItemPoolInterface.html"><abbr title="\Psr\Cache\CacheItemPoolInterface">CacheItemPoolInterface</abbr></a></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type"><a href="classes/Psr-Cache-CacheItemPoolInterface.html"><abbr title="\Psr\Cache\CacheItemPoolInterface">CacheItemPoolInterface</abbr></a></span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getTimestampKey">
|
|
getTimestampKey()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_getTimestampKey" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1299</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">getTimestampKey</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/Doctrine-ORM-Cache-TimestampCacheKey.html"><abbr title="\Doctrine\ORM\Cache\TimestampCacheKey">TimestampCacheKey</abbr></a>|null</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type"><a href="classes/Doctrine-ORM-Cache-TimestampCacheKey.html"><abbr title="\Doctrine\ORM\Cache\TimestampCacheKey">TimestampCacheKey</abbr></a>|null</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_isCountable">
|
|
isCountable()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_isCountable" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">1425</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">isCountable</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">iterable<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$subject</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$subject</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">iterable<string|int, mixed></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">bool</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_parse">
|
|
parse()
|
|
<a href="classes/Doctrine-ORM-Query.html#method_parse" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">232</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Parses the DQL query, if necessary, and stores the parser result.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">parse</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/Doctrine-ORM-Query-ParserResult.html"><abbr title="\Doctrine\ORM\Query\ParserResult">ParserResult</abbr></a></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><p>Note: Populates $this->_parserResult as a side-effect.</p>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type"><a href="classes/Doctrine-ORM-Query-ParserResult.html"><abbr title="\Doctrine\ORM\Query\ParserResult">ParserResult</abbr></a></span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_potentiallyProcessIterable">
|
|
potentiallyProcessIterable()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_potentiallyProcessIterable" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">459</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">If no mapping is detected, trying to resolve the value as a Traversable</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">potentiallyProcessIterable</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$value</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$value</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_processArrayParameterValue">
|
|
processArrayParameterValue()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_processArrayParameterValue" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">476</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Process a parameter value which was previously identified as an array</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">processArrayParameterValue</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$value</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, mixed></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$value</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, mixed></span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_processParameterMappings">
|
|
processParameterMappings()
|
|
<a href="classes/Doctrine-ORM-Query.html#method_processParameterMappings" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">388</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Processes query parameter mappings.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">processParameterMappings</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, array<int, int>> </span><span class="phpdocumentor-signature__argument__name">$paramMappings</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, array<string|int, mixed>></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$paramMappings</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, array<int, int>></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-Query.html#method_processParameterMappings#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-return</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>array{0: list<mixed>, 1: array}</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">throws</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
<span class="phpdocumentor-tag-link"><a href="classes/Doctrine-ORM-Query-QueryException.html"><abbr title="\Doctrine\ORM\Query\QueryException">QueryException</abbr></a></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, array<string|int, mixed>></span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_resolveParameterValue">
|
|
resolveParameterValue()
|
|
<a href="classes/Doctrine-ORM-Query.html#method_resolveParameterValue" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-query.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/Query.php">Query.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">437</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">resolveParameterValue</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/Doctrine-ORM-Query-Parameter.html"><abbr title="\Doctrine\ORM\Query\Parameter">Parameter</abbr></a> </span><span class="phpdocumentor-signature__argument__name">$parameter</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, mixed></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$parameter</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/Doctrine-ORM-Query-Parameter.html"><abbr title="\Doctrine\ORM\Query\Parameter">Parameter</abbr></a></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-Query.html#method_resolveParameterValue#tags" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h5>
|
|
<dl class="phpdocumentor-tag-list">
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-return</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>array{0: mixed, 1: mixed}</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, mixed></span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>tuple of (value, type)</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_translateNamespaces">
|
|
translateNamespaces()
|
|
<a href="classes/Doctrine-ORM-AbstractQuery.html#method_translateNamespaces" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<aside class="phpdocumentor-element-found-in">
|
|
<abbr class="phpdocumentor-element-found-in__file" title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-abstractquery.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php">AbstractQuery.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">512</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Allows to translate entity namespaces to full qualified names.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">translateNamespaces</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/Doctrine-ORM-Query-ResultSetMapping.html"><abbr title="\Doctrine\ORM\Query\ResultSetMapping">ResultSetMapping</abbr></a> </span><span class="phpdocumentor-signature__argument__name">$rsm</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">void</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
<h5 class="phpdocumentor-argument-list__heading">Parameters</h5>
|
|
<dl class="phpdocumentor-argument-list">
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$rsm</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/Doctrine-ORM-Query-ResultSetMapping.html"><abbr title="\Doctrine\ORM\Query\ResultSetMapping">ResultSetMapping</abbr></a></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</article>
|
|
</section>
|
|
|
|
<div class="phpdocumentor-modal" id="source-view">
|
|
<div class="phpdocumentor-modal-bg" data-exit-button></div>
|
|
<div class="phpdocumentor-modal-container">
|
|
<div class="phpdocumentor-modal-content">
|
|
<pre style="max-height: 500px; overflow-y: scroll" data-src="files/vendor/doctrine/orm/lib/Doctrine/ORM/Query.php.txt" class="language-php line-numbers linkable-line-numbers"></pre>
|
|
</div>
|
|
<button data-exit-button class="phpdocumentor-modal__close">×</button>
|
|
</div>
|
|
</div>
|
|
|
|
<script type="text/javascript">
|
|
(function () {
|
|
function loadExternalCodeSnippet(el, url, line) {
|
|
Array.prototype.slice.call(el.querySelectorAll('pre[data-src]')).forEach((pre) => {
|
|
const src = url || pre.getAttribute('data-src').replace(/\\/g, '/');
|
|
const language = 'php';
|
|
|
|
const code = document.createElement('code');
|
|
code.className = 'language-' + language;
|
|
pre.textContent = '';
|
|
pre.setAttribute('data-line', line)
|
|
code.textContent = 'Loading…';
|
|
pre.appendChild(code);
|
|
|
|
var xhr = new XMLHttpRequest();
|
|
|
|
xhr.open('GET', src, true);
|
|
|
|
xhr.onreadystatechange = function () {
|
|
if (xhr.readyState !== 4) {
|
|
return;
|
|
}
|
|
|
|
if (xhr.status < 400 && xhr.responseText) {
|
|
code.textContent = xhr.responseText;
|
|
Prism.highlightElement(code);
|
|
return;
|
|
}
|
|
|
|
if (xhr.status === 404) {
|
|
code.textContent = '✖ Error: File could not be found';
|
|
return;
|
|
}
|
|
|
|
if (xhr.status >= 400) {
|
|
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
|
|
return;
|
|
}
|
|
|
|
code.textContent = '✖ Error: An unknown error occurred';
|
|
};
|
|
|
|
xhr.send(null);
|
|
});
|
|
}
|
|
|
|
const modalButtons = document.querySelectorAll("[data-modal]");
|
|
const openedAsLocalFile = window.location.protocol === 'file:';
|
|
if (modalButtons.length > 0 && openedAsLocalFile) {
|
|
console.warn(
|
|
'Viewing the source code is unavailable because you are opening this page from the file:// scheme; ' +
|
|
'browsers block XHR requests when a page is opened this way'
|
|
);
|
|
}
|
|
|
|
modalButtons.forEach(function (trigger) {
|
|
if (openedAsLocalFile) {
|
|
trigger.setAttribute("hidden", "hidden");
|
|
}
|
|
|
|
trigger.addEventListener("click", function (event) {
|
|
event.preventDefault();
|
|
const modal = document.getElementById(trigger.dataset.modal);
|
|
if (!modal) {
|
|
console.error(`Modal with id "${trigger.dataset.modal}" could not be found`);
|
|
return;
|
|
}
|
|
modal.classList.add("phpdocumentor-modal__open");
|
|
|
|
loadExternalCodeSnippet(modal, trigger.dataset.src || null, trigger.dataset.line)
|
|
const exits = modal.querySelectorAll("[data-exit-button]");
|
|
exits.forEach(function (exit) {
|
|
exit.addEventListener("click", function (event) {
|
|
event.preventDefault();
|
|
modal.classList.remove("phpdocumentor-modal__open");
|
|
});
|
|
});
|
|
});
|
|
});
|
|
})();
|
|
</script>
|
|
|
|
</article>
|
|
</section>
|
|
<section class="phpdocumentor-on-this-page__sidebar">
|
|
|
|
<section class="phpdocumentor-on-this-page__content">
|
|
<strong class="phpdocumentor-on-this-page__title">On this page</strong>
|
|
|
|
<ul class="phpdocumentor-list -clean">
|
|
<li class="phpdocumentor-on-this-page-section__title">Table Of Contents</li>
|
|
<li>
|
|
<ul class="phpdocumentor-list -clean">
|
|
<li><a href="classes/Doctrine-ORM-Query.html#toc-constants">Constants</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#toc-properties">Properties</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#toc-methods">Methods</a></li>
|
|
</ul>
|
|
</li>
|
|
<li class="phpdocumentor-on-this-page-section__title">Constants</li>
|
|
<li>
|
|
<ul class="phpdocumentor-list -clean">
|
|
<li><a href="classes/Doctrine-ORM-Query.html#constant_HINT_CACHE_ENABLED">HINT_CACHE_ENABLED</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#constant_HINT_CACHE_EVICT">HINT_CACHE_EVICT</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#constant_HINT_CUSTOM_OUTPUT_WALKER">HINT_CUSTOM_OUTPUT_WALKER</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#constant_HINT_CUSTOM_TREE_WALKERS">HINT_CUSTOM_TREE_WALKERS</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#constant_HINT_FORCE_PARTIAL_LOAD">HINT_FORCE_PARTIAL_LOAD</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#constant_HINT_INCLUDE_META_COLUMNS">HINT_INCLUDE_META_COLUMNS</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#constant_HINT_INTERNAL_ITERATION">HINT_INTERNAL_ITERATION</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#constant_HINT_LOCK_MODE">HINT_LOCK_MODE</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#constant_HINT_READ_ONLY">HINT_READ_ONLY</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#constant_HINT_REFRESH">HINT_REFRESH</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#constant_HINT_REFRESH_ENTITY">HINT_REFRESH_ENTITY</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#constant_HYDRATE_ARRAY">HYDRATE_ARRAY</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#constant_HYDRATE_OBJECT">HYDRATE_OBJECT</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#constant_HYDRATE_SCALAR">HYDRATE_SCALAR</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#constant_HYDRATE_SCALAR_COLUMN">HYDRATE_SCALAR_COLUMN</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#constant_HYDRATE_SIMPLEOBJECT">HYDRATE_SIMPLEOBJECT</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#constant_HYDRATE_SINGLE_SCALAR">HYDRATE_SINGLE_SCALAR</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#constant_STATE_CLEAN">STATE_CLEAN</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#constant_STATE_DIRTY">STATE_DIRTY</a></li>
|
|
</ul>
|
|
</li>
|
|
|
|
<li class="phpdocumentor-on-this-page-section__title">Properties</li>
|
|
<li>
|
|
<ul class="phpdocumentor-list -clean">
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#property__em">$_em<a href="classes/Doctrine-ORM-Query.html"></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#property__expireResultCache">$_expireResultCache<a href="classes/Doctrine-ORM-Query.html"></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#property__hints">$_hints<a href="classes/Doctrine-ORM-Query.html"></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#property__hydrationCacheProfile">$_hydrationCacheProfile<a href="classes/Doctrine-ORM-Query.html"></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#property__hydrationMode">$_hydrationMode<a href="classes/Doctrine-ORM-Query.html"></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#property__queryCacheProfile">$_queryCacheProfile<a href="classes/Doctrine-ORM-Query.html"></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#property__resultSetMapping">$_resultSetMapping<a href="classes/Doctrine-ORM-Query.html"></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#property_cacheable">$cacheable<a href="classes/Doctrine-ORM-Query.html"></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#property_cacheLogger">$cacheLogger<a href="classes/Doctrine-ORM-Query.html"></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#property_cacheMode">$cacheMode<a href="classes/Doctrine-ORM-Query.html"></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#property_cacheRegion">$cacheRegion<a href="classes/Doctrine-ORM-Query.html"></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#property_hasCache">$hasCache<a href="classes/Doctrine-ORM-Query.html"></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#property_lifetime">$lifetime<a href="classes/Doctrine-ORM-Query.html"></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#property_parameters">$parameters<a href="classes/Doctrine-ORM-Query.html"></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#property_dql">$dql<a href="classes/Doctrine-ORM-Query.html"></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#property_expireQueryCache">$expireQueryCache<a href="classes/Doctrine-ORM-Query.html"></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#property_firstResult">$firstResult<a href="classes/Doctrine-ORM-Query.html"></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#property_maxResults">$maxResults<a href="classes/Doctrine-ORM-Query.html"></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#property_parsedTypes">$parsedTypes<a href="classes/Doctrine-ORM-Query.html"></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#property_parserResult">$parserResult<a href="classes/Doctrine-ORM-Query.html"></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#property_queryCache">$queryCache<a href="classes/Doctrine-ORM-Query.html"></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#property_queryCacheTTL">$queryCacheTTL<a href="classes/Doctrine-ORM-Query.html"></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#property_state">$state<a href="classes/Doctrine-ORM-Query.html"></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#property_useQueryCache">$useQueryCache<a href="classes/Doctrine-ORM-Query.html"></li>
|
|
</ul>
|
|
</li>
|
|
|
|
<li class="phpdocumentor-on-this-page-section__title">Methods</li>
|
|
<li>
|
|
<ul class="phpdocumentor-list -clean">
|
|
<li><a href="classes/Doctrine-ORM-Query.html#method___clone">__clone()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method___construct">__construct()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#method_contains">contains()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_disableResultCache">disableResultCache()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_enableResultCache">enableResultCache()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_execute">execute()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#method_expireQueryCache">expireQueryCache()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_expireResultCache">expireResultCache()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#method_free">free()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_getArrayResult">getArrayResult()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#method_getAST">getAST()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_getCacheMode">getCacheMode()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_getCacheRegion">getCacheRegion()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#method_getDQL">getDQL()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_getEntityManager">getEntityManager()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#method_getExpireQueryCache">getExpireQueryCache()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_getExpireResultCache">getExpireResultCache()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#method_getFirstResult">getFirstResult()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_getHint">getHint()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_getHints">getHints()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_getHydrationCacheProfile">getHydrationCacheProfile()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_getHydrationMode">getHydrationMode()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_getLifetime">getLifetime()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#method_getLockMode">getLockMode()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#method_getMaxResults">getMaxResults()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_getOneOrNullResult">getOneOrNullResult()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_getParameter">getParameter()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_getParameters">getParameters()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#method_getQueryCacheDriver">getQueryCacheDriver()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#method_getQueryCacheLifetime">getQueryCacheLifetime()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_getQueryCacheProfile">getQueryCacheProfile()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_getResult">getResult()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_getResultCacheDriver">getResultCacheDriver()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_getResultCacheId">getResultCacheId()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_getResultCacheLifetime">getResultCacheLifetime()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_getScalarResult">getScalarResult()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_getSingleColumnResult">getSingleColumnResult()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_getSingleResult">getSingleResult()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_getSingleScalarResult">getSingleScalarResult()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#method_getSQL">getSQL()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#method_getState">getState()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_hasHint">hasHint()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_isCacheable">isCacheable()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#method_iterate">iterate()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_processParameterValue">processParameterValue()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_setCacheable">setCacheable()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_setCacheMode">setCacheMode()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_setCacheRegion">setCacheRegion()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#method_setDQL">setDQL()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_setFetchMode">setFetchMode()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#method_setFirstResult">setFirstResult()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#method_setHint">setHint()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_setHydrationCacheProfile">setHydrationCacheProfile()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#method_setHydrationMode">setHydrationMode()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_setLifetime">setLifetime()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#method_setLockMode">setLockMode()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#method_setMaxResults">setMaxResults()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_setParameter">setParameter()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_setParameters">setParameters()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#method_setQueryCache">setQueryCache()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#method_setQueryCacheDriver">setQueryCacheDriver()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#method_setQueryCacheLifetime">setQueryCacheLifetime()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_setResultCache">setResultCache()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_setResultCacheDriver">setResultCacheDriver()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_setResultCacheId">setResultCacheId()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_setResultCacheLifetime">setResultCacheLifetime()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_setResultCacheProfile">setResultCacheProfile()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_setResultSetMapping">setResultSetMapping()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#method_toIterable">toIterable()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#method_useQueryCache">useQueryCache()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_useResultCache">useResultCache()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#method__doExecute">_doExecute()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#method_getHash">getHash()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_getHydrationCacheId">getHydrationCacheId()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#method_getQueryCacheId">getQueryCacheId()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#method_getResultSetMapping">getResultSetMapping()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_isCacheEnabled">isCacheEnabled()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#method_evictEntityCacheRegion">evictEntityCacheRegion()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#method_evictResultSetCache">evictResultSetCache()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_executeIgnoreQueryCache">executeIgnoreQueryCache()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_executeUsingQueryCache">executeUsingQueryCache()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_getHydrationCache">getHydrationCache()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_getTimestampKey">getTimestampKey()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_isCountable">isCountable()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#method_parse">parse()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_potentiallyProcessIterable">potentiallyProcessIterable()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_processArrayParameterValue">processArrayParameterValue()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#method_processParameterMappings">processParameterMappings()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-Query.html#method_resolveParameterValue">resolveParameterValue()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-AbstractQuery.html#method_translateNamespaces">translateNamespaces()</a></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</section>
|
|
|
|
</section>
|
|
</div>
|
|
<section data-search-results class="phpdocumentor-search-results phpdocumentor-search-results--hidden">
|
|
<section class="phpdocumentor-search-results__dialog">
|
|
<header class="phpdocumentor-search-results__header">
|
|
<h2 class="phpdocumentor-search-results__title">Search results</h2>
|
|
<button class="phpdocumentor-search-results__close"><i class="fas fa-times"></i></button>
|
|
</header>
|
|
<section class="phpdocumentor-search-results__body">
|
|
<ul class="phpdocumentor-search-results__entries"></ul>
|
|
</section>
|
|
</section>
|
|
</section>
|
|
</div>
|
|
<a href="classes/Doctrine-ORM-Query.html#top" class="phpdocumentor-back-to-top"><i class="fas fa-chevron-circle-up"></i></a>
|
|
|
|
</main>
|
|
|
|
<script>
|
|
cssVars({});
|
|
</script>
|
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/prism.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/autoloader/prism-autoloader.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-numbers/prism-line-numbers.min.js"></script>
|
|
<script src="https://cdn.jsdelivr.net/npm/prismjs@1.23.0/plugins/line-highlight/prism-line-highlight.min.js"></script>
|
|
</body>
|
|
</html>
|