mirror of
https://forge.chapril.org/tykayn/caisse-bliss
synced 2025-10-04 17:04:54 +02:00
4292 lines
204 KiB
HTML
4292 lines
204 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">
|
|
PersistentCollection
|
|
|
|
<span class="phpdocumentor-element__extends">
|
|
extends <a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html"><abbr title="\Doctrine\Common\Collections\AbstractLazyCollection">AbstractLazyCollection</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>
|
|
|
|
<span class="phpdocumentor-element__implements">
|
|
implements
|
|
<a href="classes/Doctrine-Common-Collections-Selectable.html"><abbr title="\Doctrine\Common\Collections\Selectable">Selectable</abbr></a> </span>
|
|
|
|
</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/PersistentCollection.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-persistentcollection.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php">PersistentCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">42</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">A PersistentCollection represents a collection of elements that have persistent state.</p>
|
|
|
|
<section class="phpdocumentor-description"><p>Collections of entities represent only the associations (links) to those entities.
|
|
That means, if the collection is part of a many-many mapping and you remove
|
|
entities from the collection, only the links in the relation table are removed (on flush).
|
|
Similarly, if you remove entities from a collection that is part of a one-many
|
|
mapping this will only result in the nulling out of the foreign keys on flush.</p>
|
|
</section>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#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-template</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>TKey of array-key</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-template</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>T</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">template-extends</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>AbstractLazyCollection<TKey,T></p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">template-implements</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>Selectable<TKey,T></p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-tag-list__entry">
|
|
<span class="phpdocumentor-tag__name">psalm-import-type</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>AssociationMapping from ClassMetadata</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<h3 id="toc">
|
|
Table of Contents
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#toc" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h3>
|
|
|
|
|
|
|
|
<h4 id="toc-interfaces">
|
|
Interfaces
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#toc-interfaces" class="headerlink"><i class="fas fa-link"></i></a>
|
|
|
|
</h4>
|
|
<dl class="phpdocumentor-table-of-contents">
|
|
<dt class="phpdocumentor-table-of-contents__entry -interface"><a href="classes/Doctrine-Common-Collections-Selectable.html"><abbr title="\Doctrine\Common\Collections\Selectable">Selectable</abbr></a></dt><dd>Interface for collections that allow efficient filtering with an expression API.</dd> </dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4 id="toc-properties">
|
|
Properties
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.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-Common-Collections-AbstractLazyCollection.html#property_collection">$collection</a>
|
|
<span>
|
|
: <a href="classes/Doctrine-Common-Collections-Collection.html"><abbr title="\Doctrine\Common\Collections\Collection">Collection</abbr></a><string|int, mixed>|null </span>
|
|
</dt>
|
|
<dd>The backed collection to use</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -protected">
|
|
<a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#property_initialized">$initialized</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#property_association">$association</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>The association mapping the collection belongs to.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#property_backRefFieldName">$backRefFieldName</a>
|
|
<span>
|
|
: string|null </span>
|
|
</dt>
|
|
<dd>The name of the field on the target entities that points to the owner
|
|
of the collection. This is only set if the association is bi-directional.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#property_em">$em</a>
|
|
<span>
|
|
: <a href="classes/Doctrine-ORM-EntityManagerInterface.html"><abbr title="\Doctrine\ORM\EntityManagerInterface">EntityManagerInterface</abbr></a>|null </span>
|
|
</dt>
|
|
<dd>The EntityManager that manages the persistence of the collection.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#property_isDirty">$isDirty</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Whether the collection is dirty and needs to be synchronized with the database
|
|
when the UnitOfWork that manages its persistent state commits.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#property_owner">$owner</a>
|
|
<span>
|
|
: object|null </span>
|
|
</dt>
|
|
<dd>The entity that owns this collection.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#property_snapshot">$snapshot</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>A snapshot of the collection at the moment it was fetched from the database.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -property -private">
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#property_typeClass">$typeClass</a>
|
|
<span>
|
|
: <a href="classes/Doctrine-ORM-Mapping-ClassMetadata.html"><abbr title="\Doctrine\ORM\Mapping\ClassMetadata">ClassMetadata</abbr></a>|null </span>
|
|
</dt>
|
|
<dd>The class descriptor of the collection's entity type.</dd>
|
|
|
|
</dl>
|
|
|
|
<h4 id="toc-methods">
|
|
Methods
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.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-PersistentCollection.html#method___clone">__clone()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Cleans up internal state of cloned persistent collection.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method___construct">__construct()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Creates a new persistent collection.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method___sleep">__sleep()</a>
|
|
<span>
|
|
: array<string|int, string> </span>
|
|
</dt>
|
|
<dd>Called by PHP when this collection is serialized. Ensures that only the
|
|
elements are properly serialized.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_add">add()</a>
|
|
<span>
|
|
: true </span>
|
|
</dt>
|
|
<dd>Adds an element at the end of the collection.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_clear">clear()</a>
|
|
<span>
|
|
: void </span>
|
|
</dt>
|
|
<dd>Clears the collection, removing all elements.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_contains">contains()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>{@inheritDoc}</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_containsKey">containsKey()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>{@inheritDoc}</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_count">count()</a>
|
|
<span>
|
|
: int </span>
|
|
</dt>
|
|
<dd>{@inheritDoc}</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_current">current()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>{@inheritDoc}</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_exists">exists()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>{@inheritDoc}</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_filter">filter()</a>
|
|
<span>
|
|
: <a href="classes/Doctrine-Common-Collections-Collection.html"><abbr title="\Doctrine\Common\Collections\Collection">Collection</abbr></a><string|int, mixed> </span>
|
|
</dt>
|
|
<dd>Returns all the elements of this collection that satisfy the predicate p.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_first">first()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>{@inheritDoc}</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_forAll">forAll()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>{@inheritDoc}</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_get">get()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>{@inheritDoc}</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_getDeleteDiff">getDeleteDiff()</a>
|
|
<span>
|
|
: array<string|int, mixed> </span>
|
|
</dt>
|
|
<dd>INTERNAL:
|
|
getDeleteDiff</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_getInsertDiff">getInsertDiff()</a>
|
|
<span>
|
|
: array<string|int, mixed> </span>
|
|
</dt>
|
|
<dd>INTERNAL:
|
|
getInsertDiff</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_getIterator">getIterator()</a>
|
|
<span>
|
|
: <abbr title="\Traversable">Traversable</abbr><int|string, mixed> </span>
|
|
</dt>
|
|
<dd>{@inheritDoc}</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_getKeys">getKeys()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>{@inheritDoc}</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_getMapping">getMapping()</a>
|
|
<span>
|
|
: array<string|int, mixed> </span>
|
|
</dt>
|
|
<dd>INTERNAL: Gets the association mapping of the collection.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_getOwner">getOwner()</a>
|
|
<span>
|
|
: object|null </span>
|
|
</dt>
|
|
<dd>INTERNAL:
|
|
Gets the collection owner.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_getSnapshot">getSnapshot()</a>
|
|
<span>
|
|
: array<string|int, mixed> </span>
|
|
</dt>
|
|
<dd>INTERNAL:
|
|
Returns the last snapshot of the elements in the collection.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_getTypeClass">getTypeClass()</a>
|
|
<span>
|
|
: <a href="classes/Doctrine-ORM-Mapping-ClassMetadata.html"><abbr title="\Doctrine\ORM\Mapping\ClassMetadata">ClassMetadata</abbr></a> </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_getValues">getValues()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>{@inheritDoc}</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_hydrateAdd">hydrateAdd()</a>
|
|
<span>
|
|
: void </span>
|
|
</dt>
|
|
<dd>INTERNAL:
|
|
Adds an element to a collection during hydration. This will automatically
|
|
complete bidirectional associations in the case of a one-to-many association.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_hydrateSet">hydrateSet()</a>
|
|
<span>
|
|
: void </span>
|
|
</dt>
|
|
<dd>INTERNAL:
|
|
Sets a keyed element in the collection during hydration.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_indexOf">indexOf()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>{@inheritDoc}</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_initialize">initialize()</a>
|
|
<span>
|
|
: void </span>
|
|
</dt>
|
|
<dd>Initializes the collection by loading its contents from the database
|
|
if the collection is not yet initialized.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_isDirty">isDirty()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Gets a boolean flag indicating whether this collection is dirty which means
|
|
its state needs to be synchronized with the database.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_isEmpty">isEmpty()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>{@inheritDoc}</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_isInitialized">isInitialized()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Is the lazy collection already initialized?</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_key">key()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>{@inheritDoc}</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_last">last()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>{@inheritDoc}</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_map">map()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>{@inheritDoc}</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_matching">matching()</a>
|
|
<span>
|
|
: <a href="classes/Doctrine-Common-Collections-Collection.html"><abbr title="\Doctrine\Common\Collections\Collection">Collection</abbr></a><string|int, mixed>|<a href="classes/Doctrine-Common-Collections-Selectable.html"><abbr title="\Doctrine\Common\Collections\Selectable">Selectable</abbr></a><string|int, mixed> </span>
|
|
</dt>
|
|
<dd>Selects all elements from a selectable that match the expression and
|
|
return a new collection containing these elements.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_next">next()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>{@inheritDoc}</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_offsetExists">offsetExists()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_offsetGet">offsetGet()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_offsetSet">offsetSet()</a>
|
|
<span>
|
|
: void </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_offsetUnset">offsetUnset()</a>
|
|
<span>
|
|
: object|null </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_partition">partition()</a>
|
|
<span>
|
|
: array<string|int, <a href="classes/Doctrine-Common-Collections-Collection.html"><abbr title="\Doctrine\Common\Collections\Collection">Collection</abbr></a><string|int, mixed>> </span>
|
|
</dt>
|
|
<dd>Partitions this collection in two collections according to a predicate.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_remove">remove()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>Removes the element at the specified index from the collection.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_removeElement">removeElement()</a>
|
|
<span>
|
|
: bool </span>
|
|
</dt>
|
|
<dd>Removes the specified element from the collection, if it is found.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_set">set()</a>
|
|
<span>
|
|
: void </span>
|
|
</dt>
|
|
<dd>Sets an element in the collection at the specified key/index.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_setDirty">setDirty()</a>
|
|
<span>
|
|
: void </span>
|
|
</dt>
|
|
<dd>Sets a boolean flag, indicating whether this collection is dirty.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_setInitialized">setInitialized()</a>
|
|
<span>
|
|
: void </span>
|
|
</dt>
|
|
<dd>Sets the initialized flag of the collection, forcing it into that state.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_setOwner">setOwner()</a>
|
|
<span>
|
|
: void </span>
|
|
</dt>
|
|
<dd>INTERNAL:
|
|
Sets the collection's owning entity together with the AssociationMapping that
|
|
describes the association between the owner and the elements of the collection.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_slice">slice()</a>
|
|
<span>
|
|
: array<string|int, mixed> </span>
|
|
</dt>
|
|
<dd>Extracts a slice of $length elements starting at position $offset from the Collection.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_takeSnapshot">takeSnapshot()</a>
|
|
<span>
|
|
: void </span>
|
|
</dt>
|
|
<dd>INTERNAL:
|
|
Tells this collection to take a snapshot of its current state.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_toArray">toArray()</a>
|
|
<span>
|
|
: mixed </span>
|
|
</dt>
|
|
<dd>{@inheritDoc}</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -public">
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_unwrap">unwrap()</a>
|
|
<span>
|
|
: <a href="classes/Doctrine-Common-Collections-Collection.html"><abbr title="\Doctrine\Common\Collections\Collection">Collection</abbr></a><<abbr title="\Doctrine\ORM\TKey">TKey</abbr>, <abbr title="\Doctrine\ORM\T">T</abbr>>|<a href="classes/Doctrine-Common-Collections-Selectable.html"><abbr title="\Doctrine\Common\Collections\Selectable">Selectable</abbr></a><<abbr title="\Doctrine\ORM\TKey">TKey</abbr>, <abbr title="\Doctrine\ORM\T">T</abbr>> </span>
|
|
</dt>
|
|
<dd>Retrieves the wrapped Collection instance.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -protected">
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_doInitialize">doInitialize()</a>
|
|
<span>
|
|
: void </span>
|
|
</dt>
|
|
<dd>Do the initialization logic</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_changed">changed()</a>
|
|
<span>
|
|
: void </span>
|
|
</dt>
|
|
<dd>Marks this collection as changed/dirty.</dd>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_getUnitOfWork">getUnitOfWork()</a>
|
|
<span>
|
|
: <a href="classes/Doctrine-ORM-UnitOfWork.html"><abbr title="\Doctrine\ORM\UnitOfWork">UnitOfWork</abbr></a> </span>
|
|
</dt>
|
|
|
|
<dt class="phpdocumentor-table-of-contents__entry -method -private">
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_restoreNewObjectsInDirtyCollection">restoreNewObjectsInDirtyCollection()</a>
|
|
<span>
|
|
: void </span>
|
|
</dt>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<section class="phpdocumentor-properties">
|
|
<h3 class="phpdocumentor-elements__header" id="properties">
|
|
Properties
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.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_collection">
|
|
$collection
|
|
<a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#property_collection" 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/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php"><a href="files/vendor-doctrine-collections-lib-doctrine-common-collections-abstractlazycollection.html"><abbr title="vendor/doctrine/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php">AbstractLazyCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">25</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">The backed collection 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-Common-Collections-Collection.html"><abbr title="\Doctrine\Common\Collections\Collection">Collection</abbr></a><string|int, mixed>|null</span>
|
|
<span class="phpdocumentor-signature__name">$collection</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#property_collection#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>Collection<TKey,T>|null</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_initialized">
|
|
$initialized
|
|
<a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#property_initialized" 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/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php"><a href="files/vendor-doctrine-collections-lib-doctrine-common-collections-abstractlazycollection.html"><abbr title="vendor/doctrine/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php">AbstractLazyCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">28</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">$initialized</span>
|
|
= <span class="phpdocumentor-signature__default-value">false</span></code>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_association">
|
|
$association
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#property_association" 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/PersistentCollection.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-persistentcollection.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php">PersistentCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">65</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">The association mapping the collection belongs to.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">$association</span>
|
|
</code>
|
|
|
|
<section class="phpdocumentor-description"><p>This is currently either a OneToManyMapping or a ManyToManyMapping.</p>
|
|
</section>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#property_association#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>AssociationMapping|null</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_backRefFieldName">
|
|
$backRefFieldName
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#property_backRefFieldName" 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/PersistentCollection.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-persistentcollection.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php">PersistentCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">80</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">The name of the field on the target entities that points to the owner
|
|
of the collection. This is only set if the association is bi-directional.</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">$backRefFieldName</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_em">
|
|
$em
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.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/PersistentCollection.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-persistentcollection.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php">PersistentCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">72</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">The EntityManager that manages the persistence of the collection.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__type"><a href="classes/Doctrine-ORM-EntityManagerInterface.html"><abbr title="\Doctrine\ORM\EntityManagerInterface">EntityManagerInterface</abbr></a>|null</span>
|
|
<span class="phpdocumentor-signature__name">$em</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_isDirty">
|
|
$isDirty
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#property_isDirty" 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/PersistentCollection.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-persistentcollection.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php">PersistentCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">95</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Whether the collection is dirty and needs to be synchronized with the database
|
|
when the UnitOfWork that manages its persistent state commits.</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">$isDirty</span>
|
|
= <span class="phpdocumentor-signature__default-value">false</span></code>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_owner">
|
|
$owner
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#property_owner" 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/PersistentCollection.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-persistentcollection.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php">PersistentCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">57</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">The entity that owns this collection.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__type">object|null</span>
|
|
<span class="phpdocumentor-signature__name">$owner</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_snapshot">
|
|
$snapshot
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#property_snapshot" 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/PersistentCollection.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-persistentcollection.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php">PersistentCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">50</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">A snapshot of the collection at the moment it was fetched from the database.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__type">mixed</span>
|
|
<span class="phpdocumentor-signature__name">$snapshot</span>
|
|
= <span class="phpdocumentor-signature__default-value">[]</span></code>
|
|
|
|
<section class="phpdocumentor-description"><p>This is used to create a diff of the collection at commit time.</p>
|
|
</section>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#property_snapshot#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|int, mixed></p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
</article>
|
|
<article
|
|
class="
|
|
phpdocumentor-element
|
|
-property
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="property_typeClass">
|
|
$typeClass
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#property_typeClass" 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/PersistentCollection.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-persistentcollection.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php">PersistentCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">87</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">The class descriptor of the collection's entity type.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__type"><a href="classes/Doctrine-ORM-Mapping-ClassMetadata.html"><abbr title="\Doctrine\ORM\Mapping\ClassMetadata">ClassMetadata</abbr></a>|null</span>
|
|
<span class="phpdocumentor-signature__name">$typeClass</span>
|
|
</code>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
</section>
|
|
|
|
<section class="phpdocumentor-methods">
|
|
<h3 class="phpdocumentor-elements__header" id="methods">
|
|
Methods
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.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-PersistentCollection.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/PersistentCollection.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-persistentcollection.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php">PersistentCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">628</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Cleans up internal state of cloned persistent collection.</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">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><p>The following problems have to be prevented:</p>
|
|
<ol>
|
|
<li>Added entities are added to old PC</li>
|
|
<li>New collection is not dirty, if reused on other entity nothing
|
|
changes.</li>
|
|
<li>Snapshot leads to invalid diffs being generated.</li>
|
|
<li>Lazy loading grabs entities from old owner object.</li>
|
|
<li>New collection is connected to old owner and leads to duplicate keys.</li>
|
|
</ol>
|
|
</section>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method___construct">
|
|
__construct()
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.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/PersistentCollection.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-persistentcollection.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php">PersistentCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">104</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Creates a new persistent collection.</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 class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type"><a href="classes/Doctrine-ORM-Mapping-ClassMetadata.html"><abbr title="\Doctrine\ORM\Mapping\ClassMetadata">ClassMetadata</abbr></a> </span><span class="phpdocumentor-signature__argument__name">$class</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type"><a href="classes/Doctrine-Common-Collections-Collection.html"><abbr title="\Doctrine\Common\Collections\Collection">Collection</abbr></a> </span><span class="phpdocumentor-signature__argument__name">$collection</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">
|
|
<section class="phpdocumentor-description"><p>The EntityManager the collection will be associated with.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$class</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/Doctrine-ORM-Mapping-ClassMetadata.html"><abbr title="\Doctrine\ORM\Mapping\ClassMetadata">ClassMetadata</abbr></a></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The class descriptor of the entity type of this collection.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$collection</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/Doctrine-Common-Collections-Collection.html"><abbr title="\Doctrine\Common\Collections\Collection">Collection</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-PersistentCollection.html#method___construct#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>Collection<TKey, T>&Selectable<TKey, T> $collection The collection elements.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method___sleep">
|
|
__sleep()
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method___sleep" 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/PersistentCollection.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-persistentcollection.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php">PersistentCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">588</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Called by PHP when this collection is serialized. Ensures that only the
|
|
elements are properly serialized.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">__sleep</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>Internal note: Tried to implement Serializable first but that did not work well
|
|
with circular references. This solution seems simpler and works well.</p>
|
|
</section>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method___sleep#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: string, 1: string}</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>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_add">
|
|
add()
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_add" 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/PersistentCollection.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-persistentcollection.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php">PersistentCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">478</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Adds an element at the end of the collection.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">add</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">true</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>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">true</span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>Always TRUE.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_clear">
|
|
clear()
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_clear" 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/PersistentCollection.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-persistentcollection.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php">PersistentCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">540</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Clears the collection, removing all elements.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">clear</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_contains">
|
|
contains()
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.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/PersistentCollection.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-persistentcollection.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php">PersistentCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">417</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">{@inheritDoc}</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">mixed </span><span class="phpdocumentor-signature__argument__name">$element</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">$element</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-PersistentCollection.html#method_contains#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">template</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>TMaybeContained</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_containsKey">
|
|
containsKey()
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_containsKey" 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/PersistentCollection.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-persistentcollection.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php">PersistentCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">398</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">{@inheritDoc}</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">containsKey</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$key</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">$key</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">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
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_count">
|
|
count()
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_count" 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/PersistentCollection.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-persistentcollection.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php">PersistentCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">450</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">{@inheritDoc}</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">count</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_current">
|
|
current()
|
|
<a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_current" 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/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php"><a href="files/vendor-doctrine-collections-lib-doctrine-common-collections-abstractlazycollection.html"><abbr title="vendor/doctrine/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php">AbstractLazyCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">196</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">{@inheritDoc}</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">current</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_exists">
|
|
exists()
|
|
<a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_exists" 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/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php"><a href="files/vendor-doctrine-collections-lib-doctrine-common-collections-abstractlazycollection.html"><abbr title="vendor/doctrine/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php">AbstractLazyCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">216</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">{@inheritDoc}</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">exists</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\Closure">Closure</abbr> </span><span class="phpdocumentor-signature__argument__name">$p</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">$p</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><abbr title="\Closure">Closure</abbr></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_filter">
|
|
filter()
|
|
<a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_filter" 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/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php"><a href="files/vendor-doctrine-collections-lib-doctrine-common-collections-abstractlazycollection.html"><abbr title="vendor/doctrine/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php">AbstractLazyCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">226</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Returns all the elements of this collection that satisfy the predicate p.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">filter</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\Closure">Closure</abbr> </span><span class="phpdocumentor-signature__argument__name">$p</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/Doctrine-Common-Collections-Collection.html"><abbr title="\Doctrine\Common\Collections\Collection">Collection</abbr></a><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">$p</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><abbr title="\Closure">Closure</abbr></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The predicate used for filtering.</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-Collection.html"><abbr title="\Doctrine\Common\Collections\Collection">Collection</abbr></a><string|int, mixed></span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>A collection with the results of the filter operation.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_first">
|
|
first()
|
|
<a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_first" 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/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php"><a href="files/vendor-doctrine-collections-lib-doctrine-common-collections-abstractlazycollection.html"><abbr title="vendor/doctrine/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php">AbstractLazyCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">166</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">{@inheritDoc}</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">first</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_forAll">
|
|
forAll()
|
|
<a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_forAll" 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/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php"><a href="files/vendor-doctrine-collections-lib-doctrine-common-collections-abstractlazycollection.html"><abbr title="vendor/doctrine/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php">AbstractLazyCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">236</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">{@inheritDoc}</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">forAll</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\Closure">Closure</abbr> </span><span class="phpdocumentor-signature__argument__name">$p</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">$p</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><abbr title="\Closure">Closure</abbr></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_get">
|
|
get()
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_get" 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/PersistentCollection.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-persistentcollection.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php">PersistentCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">431</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">{@inheritDoc}</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">get</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$key</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">$key</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
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getDeleteDiff">
|
|
getDeleteDiff()
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_getDeleteDiff" 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/PersistentCollection.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-persistentcollection.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php">PersistentCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">247</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">INTERNAL:
|
|
getDeleteDiff</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getDeleteDiff</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>
|
|
<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_getInsertDiff">
|
|
getInsertDiff()
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_getInsertDiff" 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/PersistentCollection.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-persistentcollection.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php">PersistentCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">263</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">INTERNAL:
|
|
getInsertDiff</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getInsertDiff</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>
|
|
<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_getIterator">
|
|
getIterator()
|
|
<a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_getIterator" 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/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php"><a href="files/vendor-doctrine-collections-lib-doctrine-common-collections-abstractlazycollection.html"><abbr title="vendor/doctrine/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php">AbstractLazyCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">291</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">{@inheritDoc}</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getIterator</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><abbr title="\Traversable">Traversable</abbr><int|string, mixed></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_getIterator#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>Traversable<TKey,T></p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type"><abbr title="\Traversable">Traversable</abbr><int|string, mixed></span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getKeys">
|
|
getKeys()
|
|
<a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_getKeys" 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/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php"><a href="files/vendor-doctrine-collections-lib-doctrine-common-collections-abstractlazycollection.html"><abbr title="vendor/doctrine/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php">AbstractLazyCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">127</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">{@inheritDoc}</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getKeys</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getMapping">
|
|
getMapping()
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_getMapping" 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/PersistentCollection.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-persistentcollection.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php">PersistentCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">278</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">INTERNAL: Gets the association mapping of the collection.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getMapping</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>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_getMapping#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>AssociationMapping</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>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getOwner">
|
|
getOwner()
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_getOwner" 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/PersistentCollection.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-persistentcollection.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php">PersistentCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">133</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">INTERNAL:
|
|
Gets the collection owner.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getOwner</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object|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">object|null</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getSnapshot">
|
|
getSnapshot()
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_getSnapshot" 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/PersistentCollection.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-persistentcollection.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php">PersistentCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">236</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">INTERNAL:
|
|
Returns the last snapshot of the elements in the collection.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getSnapshot</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>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_getSnapshot#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|int, mixed> The last snapshot of the elements.</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>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getTypeClass">
|
|
getTypeClass()
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_getTypeClass" 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/PersistentCollection.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-persistentcollection.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php">PersistentCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">139</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getTypeClass</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/Doctrine-ORM-Mapping-ClassMetadata.html"><abbr title="\Doctrine\ORM\Mapping\ClassMetadata">ClassMetadata</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-Mapping-ClassMetadata.html"><abbr title="\Doctrine\ORM\Mapping\ClassMetadata">ClassMetadata</abbr></a></span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_getValues">
|
|
getValues()
|
|
<a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_getValues" 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/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php"><a href="files/vendor-doctrine-collections-lib-doctrine-common-collections-abstractlazycollection.html"><abbr title="vendor/doctrine/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php">AbstractLazyCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">137</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">{@inheritDoc}</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">getValues</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_hydrateAdd">
|
|
hydrateAdd()
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_hydrateAdd" 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/PersistentCollection.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-persistentcollection.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php">PersistentCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">160</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">INTERNAL:
|
|
Adds an element to a collection during hydration. This will automatically
|
|
complete bidirectional associations in the case of a one-to-many association.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">hydrateAdd</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$element</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">$element</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The element to add.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_hydrateSet">
|
|
hydrateSet()
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_hydrateSet" 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/PersistentCollection.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-persistentcollection.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php">PersistentCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">189</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">INTERNAL:
|
|
Sets a keyed element in the collection during hydration.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">hydrateSet</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed </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">$element</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">$key</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The key to set.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$element</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The element to set.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_indexOf">
|
|
indexOf()
|
|
<a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_indexOf" 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/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php"><a href="files/vendor-doctrine-collections-lib-doctrine-common-collections-abstractlazycollection.html"><abbr title="vendor/doctrine/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php">AbstractLazyCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">268</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">{@inheritDoc}</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">indexOf</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$element</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">$element</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-Common-Collections-AbstractLazyCollection.html#method_indexOf#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">template</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>TMaybeContained</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_initialize">
|
|
initialize()
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_initialize" 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/PersistentCollection.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-persistentcollection.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php">PersistentCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">209</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Initializes the collection by loading its contents from the database
|
|
if the collection is not yet initialized.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">initialize</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_isDirty">
|
|
isDirty()
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_isDirty" 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/PersistentCollection.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-persistentcollection.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php">PersistentCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">316</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Gets a boolean flag indicating whether this collection is dirty which means
|
|
its state needs to be synchronized with the database.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">isDirty</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 collection is dirty, FALSE otherwise.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_isEmpty">
|
|
isEmpty()
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_isEmpty" 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/PersistentCollection.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-persistentcollection.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php">PersistentCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">535</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">{@inheritDoc}</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">isEmpty</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_isInitialized">
|
|
isInitialized()
|
|
<a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_isInitialized" 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/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php"><a href="files/vendor-doctrine-collections-lib-doctrine-common-collections-abstractlazycollection.html"><abbr title="vendor/doctrine/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php">AbstractLazyCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">357</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Is the lazy collection already initialized?</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">isInitialized</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">bool</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_isInitialized#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-assert-if-true</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-tag-list__definition">
|
|
|
|
<section class="phpdocumentor-description"><p>Collection<TKey,T> $this->collection</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_key">
|
|
key()
|
|
<a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_key" 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/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php"><a href="files/vendor-doctrine-collections-lib-doctrine-common-collections-abstractlazycollection.html"><abbr title="vendor/doctrine/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php">AbstractLazyCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">186</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">{@inheritDoc}</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">key</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_last">
|
|
last()
|
|
<a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_last" 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/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php"><a href="files/vendor-doctrine-collections-lib-doctrine-common-collections-abstractlazycollection.html"><abbr title="vendor/doctrine/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php">AbstractLazyCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">176</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">{@inheritDoc}</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">last</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_map">
|
|
map()
|
|
<a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_map" 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/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php"><a href="files/vendor-doctrine-collections-lib-doctrine-common-collections-abstractlazycollection.html"><abbr title="vendor/doctrine/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php">AbstractLazyCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">246</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">{@inheritDoc}</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">map</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\Closure">Closure</abbr> </span><span class="phpdocumentor-signature__argument__name">$func</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">$func</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><abbr title="\Closure">Closure</abbr></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_matching">
|
|
matching()
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_matching" 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/PersistentCollection.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-persistentcollection.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php">PersistentCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">650</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Selects all elements from a selectable that match the expression and
|
|
return a new collection containing these elements.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">matching</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><a href="classes/Doctrine-Common-Collections-Criteria.html"><abbr title="\Doctrine\Common\Collections\Criteria">Criteria</abbr></a> </span><span class="phpdocumentor-signature__argument__name">$criteria</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/Doctrine-Common-Collections-Collection.html"><abbr title="\Doctrine\Common\Collections\Collection">Collection</abbr></a><string|int, mixed>|<a href="classes/Doctrine-Common-Collections-Selectable.html"><abbr title="\Doctrine\Common\Collections\Selectable">Selectable</abbr></a><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">$criteria</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><a href="classes/Doctrine-Common-Collections-Criteria.html"><abbr title="\Doctrine\Common\Collections\Criteria">Criteria</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-PersistentCollection.html#method_matching#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>Collection<TKey, T></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"><abbr title="\RuntimeException">RuntimeException</abbr></span>
|
|
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type"><a href="classes/Doctrine-Common-Collections-Collection.html"><abbr title="\Doctrine\Common\Collections\Collection">Collection</abbr></a><string|int, mixed>|<a href="classes/Doctrine-Common-Collections-Selectable.html"><abbr title="\Doctrine\Common\Collections\Selectable">Selectable</abbr></a><string|int, mixed></span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_next">
|
|
next()
|
|
<a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_next" 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/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php"><a href="files/vendor-doctrine-collections-lib-doctrine-common-collections-abstractlazycollection.html"><abbr title="vendor/doctrine/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php">AbstractLazyCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">206</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">{@inheritDoc}</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">next</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_offsetExists">
|
|
offsetExists()
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_offsetExists" 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/PersistentCollection.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-persistentcollection.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php">PersistentCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">496</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">offsetExists</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$offset</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">$offset</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">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
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_offsetGet">
|
|
offsetGet()
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_offsetGet" 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/PersistentCollection.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-persistentcollection.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php">PersistentCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">504</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">offsetGet</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$offset</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">$offset</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
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_offsetSet">
|
|
offsetSet()
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_offsetSet" 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/PersistentCollection.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-persistentcollection.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php">PersistentCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">513</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">offsetSet</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$offset</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">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">$offset</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</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">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_offsetUnset">
|
|
offsetUnset()
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_offsetUnset" 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/PersistentCollection.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-persistentcollection.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php">PersistentCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">529</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">offsetUnset</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$offset</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">object|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">$offset</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">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">object|null</span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_partition">
|
|
partition()
|
|
<a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_partition" 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/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php"><a href="files/vendor-doctrine-collections-lib-doctrine-common-collections-abstractlazycollection.html"><abbr title="vendor/doctrine/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php">AbstractLazyCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">256</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Partitions this collection in two collections according to a predicate.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">partition</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type"><abbr title="\Closure">Closure</abbr> </span><span class="phpdocumentor-signature__argument__name">$p</span></span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">array<string|int, <a href="classes/Doctrine-Common-Collections-Collection.html"><abbr title="\Doctrine\Common\Collections\Collection">Collection</abbr></a><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">$p</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type"><abbr title="\Closure">Closure</abbr></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The predicate on which to partition.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<section>
|
|
<h5 class="phpdocumentor-return-value__heading">Return values</h5>
|
|
<span class="phpdocumentor-signature__response_type">array<string|int, <a href="classes/Doctrine-Common-Collections-Collection.html"><abbr title="\Doctrine\Common\Collections\Collection">Collection</abbr></a><string|int, mixed>></span>
|
|
—
|
|
<section class="phpdocumentor-description"><p>An array with two elements. The first element contains the collection
|
|
of elements where the predicate returned TRUE, the second element
|
|
contains the collection of elements where the predicate returned FALSE.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_remove">
|
|
remove()
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_remove" 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/PersistentCollection.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-persistentcollection.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php">PersistentCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">344</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Removes the element at the specified index from the collection.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">remove</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$key</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">$key</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The key/index of the element to remove.</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 removed element or NULL, if the collection did not contain the element.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_removeElement">
|
|
removeElement()
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_removeElement" 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/PersistentCollection.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-persistentcollection.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php">PersistentCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">373</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Removes the specified element from the collection, if it is found.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">removeElement</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed </span><span class="phpdocumentor-signature__argument__name">$element</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">$element</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The element to remove.</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>TRUE if this collection contained the specified element, FALSE otherwise.</p>
|
|
</section>
|
|
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_set">
|
|
set()
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_set" 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/PersistentCollection.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-persistentcollection.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php">PersistentCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">464</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Sets an element in the collection at the specified key/index.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">set</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">mixed </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>)</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">$key</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">mixed</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>The key/index of the element to set.</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 element to set.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setDirty">
|
|
setDirty()
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_setDirty" 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/PersistentCollection.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-persistentcollection.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php">PersistentCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">326</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Sets a boolean flag, indicating whether this collection is dirty.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setDirty</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">bool </span><span class="phpdocumentor-signature__argument__name">$dirty</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">$dirty</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Whether the collection should be marked dirty or not.</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setInitialized">
|
|
setInitialized()
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_setInitialized" 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/PersistentCollection.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-persistentcollection.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php">PersistentCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">336</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Sets the initialized flag of the collection, forcing it into that state.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setInitialized</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">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">$bool</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">bool</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_setOwner">
|
|
setOwner()
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_setOwner" 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/PersistentCollection.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-persistentcollection.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php">PersistentCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">120</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">INTERNAL:
|
|
Sets the collection's owning entity together with the AssociationMapping that
|
|
describes the association between the owner and the elements of the collection.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">setOwner</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">object </span><span class="phpdocumentor-signature__argument__name">$entity</span></span><span class="phpdocumentor-signature__argument"><span>, </span><span class="phpdocumentor-signature__argument__return-type">array<string|int, mixed> </span><span class="phpdocumentor-signature__argument__name">$assoc</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">$entity</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">object</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$assoc</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">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-PersistentCollection.html#method_setOwner#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>AssociationMapping $assoc</p>
|
|
</section>
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_slice">
|
|
slice()
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_slice" 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/PersistentCollection.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-persistentcollection.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php">PersistentCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">606</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Extracts a slice of $length elements starting at position $offset from the Collection.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">slice</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">int </span><span class="phpdocumentor-signature__argument__name">$offset</span></span><span class="phpdocumentor-signature__argument"><span>[</span><span>, </span><span class="phpdocumentor-signature__argument__return-type">int|null </span><span class="phpdocumentor-signature__argument__name">$length</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">array<string|int, mixed></span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
<section class="phpdocumentor-description"><p>If $length is null it returns all elements from $offset to the end of the Collection.
|
|
Keys have to be preserved by this method. Calling this method will only return the
|
|
selected slice and NOT change the elements contained in the collection slice is called on.</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">$offset</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">int</span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
|
|
</dd>
|
|
<dt class="phpdocumentor-argument-list__entry">
|
|
<span class="phpdocumentor-signature__argument__name">$length</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">
|
|
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h5 class="phpdocumentor-tag-list__heading" id="tags">
|
|
Tags
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_slice#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<TKey,T></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>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_takeSnapshot">
|
|
takeSnapshot()
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_takeSnapshot" 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/PersistentCollection.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-persistentcollection.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php">PersistentCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">224</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">INTERNAL:
|
|
Tells this collection to take a snapshot of its current state.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">takeSnapshot</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_toArray">
|
|
toArray()
|
|
<a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_toArray" 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/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php"><a href="files/vendor-doctrine-collections-lib-doctrine-common-collections-abstractlazycollection.html"><abbr title="vendor/doctrine/collections/lib/Doctrine/Common/Collections/AbstractLazyCollection.php">AbstractLazyCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">156</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">{@inheritDoc}</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">toArray</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type">mixed</span></code>
|
|
|
|
<div class="phpdocumentor-label-line">
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-public
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_unwrap">
|
|
unwrap()
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_unwrap" 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/PersistentCollection.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-persistentcollection.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php">PersistentCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">688</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Retrieves the wrapped Collection instance.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">public</span>
|
|
<span class="phpdocumentor-signature__name">unwrap</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/Doctrine-Common-Collections-Collection.html"><abbr title="\Doctrine\Common\Collections\Collection">Collection</abbr></a><<abbr title="\Doctrine\ORM\TKey">TKey</abbr>, <abbr title="\Doctrine\ORM\T">T</abbr>>|<a href="classes/Doctrine-Common-Collections-Selectable.html"><abbr title="\Doctrine\Common\Collections\Selectable">Selectable</abbr></a><<abbr title="\Doctrine\ORM\TKey">TKey</abbr>, <abbr title="\Doctrine\ORM\T">T</abbr>></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-Common-Collections-Collection.html"><abbr title="\Doctrine\Common\Collections\Collection">Collection</abbr></a><<abbr title="\Doctrine\ORM\TKey">TKey</abbr>, <abbr title="\Doctrine\ORM\T">T</abbr>>|<a href="classes/Doctrine-Common-Collections-Selectable.html"><abbr title="\Doctrine\Common\Collections\Selectable">Selectable</abbr></a><<abbr title="\Doctrine\ORM\TKey">TKey</abbr>, <abbr title="\Doctrine\ORM\T">T</abbr>></span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-protected
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_doInitialize">
|
|
doInitialize()
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_doInitialize" 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/PersistentCollection.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-persistentcollection.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php">PersistentCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">696</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Do the initialization logic</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">protected</span>
|
|
<span class="phpdocumentor-signature__name">doInitialize</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_changed">
|
|
changed()
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_changed" 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/PersistentCollection.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-persistentcollection.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php">PersistentCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">290</span>
|
|
|
|
</aside>
|
|
|
|
<p class="phpdocumentor-summary">Marks this collection as changed/dirty.</p>
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">changed</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_getUnitOfWork">
|
|
getUnitOfWork()
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_getUnitOfWork" 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/PersistentCollection.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-persistentcollection.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php">PersistentCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">146</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">getUnitOfWork</span><span>(</span><span>)</span><span> : </span><span class="phpdocumentor-signature__response_type"><a href="classes/Doctrine-ORM-UnitOfWork.html"><abbr title="\Doctrine\ORM\UnitOfWork">UnitOfWork</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-UnitOfWork.html"><abbr title="\Doctrine\ORM\UnitOfWork">UnitOfWork</abbr></a></span>
|
|
</section>
|
|
|
|
</article>
|
|
<article
|
|
class="phpdocumentor-element
|
|
-method
|
|
-private
|
|
"
|
|
>
|
|
<h4 class="phpdocumentor-element__name" id="method_restoreNewObjectsInDirtyCollection">
|
|
restoreNewObjectsInDirtyCollection()
|
|
<a href="classes/Doctrine-ORM-PersistentCollection.html#method_restoreNewObjectsInDirtyCollection" 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/PersistentCollection.php"><a href="files/vendor-doctrine-orm-lib-doctrine-orm-persistentcollection.html"><abbr title="vendor/doctrine/orm/lib/Doctrine/ORM/PersistentCollection.php">PersistentCollection.php</abbr></a></abbr>
|
|
:
|
|
<span class="phpdocumentor-element-found-in__line">722</span>
|
|
|
|
</aside>
|
|
|
|
|
|
<code class="phpdocumentor-code phpdocumentor-signature ">
|
|
<span class="phpdocumentor-signature__visibility">private</span>
|
|
<span class="phpdocumentor-signature__name">restoreNewObjectsInDirtyCollection</span><span>(</span><span class="phpdocumentor-signature__argument"><span class="phpdocumentor-signature__argument__return-type">array<string|int, object> </span><span class="phpdocumentor-signature__argument__name">$newObjects</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">$newObjects</span>
|
|
: <span class="phpdocumentor-signature__argument__return-type">array<string|int, object></span>
|
|
</dt>
|
|
<dd class="phpdocumentor-argument-list__definition">
|
|
<section class="phpdocumentor-description"><p>Note: the only reason why this entire looping/complexity is performed via <code class="prettyprint">spl_object_id</code>
|
|
is because we want to prevent using <code class="prettyprint">array_udiff()</code>, which is likely to cause very
|
|
high overhead (complexity of O(n^2)). <code class="prettyprint">array_diff_key()</code> performs the operation in
|
|
core, which is faster than using a callback for comparisons</p>
|
|
</section>
|
|
|
|
</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/PersistentCollection.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-PersistentCollection.html#toc-properties">Properties</a></li>
|
|
<li><a href="classes/Doctrine-ORM-PersistentCollection.html#toc-methods">Methods</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-Common-Collections-AbstractLazyCollection.html#property_collection">$collection<a href="classes/Doctrine-ORM-PersistentCollection.html"></li>
|
|
<li><a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#property_initialized">$initialized<a href="classes/Doctrine-ORM-PersistentCollection.html"></li>
|
|
<li><a href="classes/Doctrine-ORM-PersistentCollection.html#property_association">$association<a href="classes/Doctrine-ORM-PersistentCollection.html"></li>
|
|
<li><a href="classes/Doctrine-ORM-PersistentCollection.html#property_backRefFieldName">$backRefFieldName<a href="classes/Doctrine-ORM-PersistentCollection.html"></li>
|
|
<li><a href="classes/Doctrine-ORM-PersistentCollection.html#property_em">$em<a href="classes/Doctrine-ORM-PersistentCollection.html"></li>
|
|
<li><a href="classes/Doctrine-ORM-PersistentCollection.html#property_isDirty">$isDirty<a href="classes/Doctrine-ORM-PersistentCollection.html"></li>
|
|
<li><a href="classes/Doctrine-ORM-PersistentCollection.html#property_owner">$owner<a href="classes/Doctrine-ORM-PersistentCollection.html"></li>
|
|
<li><a href="classes/Doctrine-ORM-PersistentCollection.html#property_snapshot">$snapshot<a href="classes/Doctrine-ORM-PersistentCollection.html"></li>
|
|
<li><a href="classes/Doctrine-ORM-PersistentCollection.html#property_typeClass">$typeClass<a href="classes/Doctrine-ORM-PersistentCollection.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-PersistentCollection.html#method___clone">__clone()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-PersistentCollection.html#method___construct">__construct()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-PersistentCollection.html#method___sleep">__sleep()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-PersistentCollection.html#method_add">add()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-PersistentCollection.html#method_clear">clear()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-PersistentCollection.html#method_contains">contains()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-PersistentCollection.html#method_containsKey">containsKey()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-PersistentCollection.html#method_count">count()</a></li>
|
|
<li><a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_current">current()</a></li>
|
|
<li><a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_exists">exists()</a></li>
|
|
<li><a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_filter">filter()</a></li>
|
|
<li><a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_first">first()</a></li>
|
|
<li><a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_forAll">forAll()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-PersistentCollection.html#method_get">get()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-PersistentCollection.html#method_getDeleteDiff">getDeleteDiff()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-PersistentCollection.html#method_getInsertDiff">getInsertDiff()</a></li>
|
|
<li><a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_getIterator">getIterator()</a></li>
|
|
<li><a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_getKeys">getKeys()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-PersistentCollection.html#method_getMapping">getMapping()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-PersistentCollection.html#method_getOwner">getOwner()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-PersistentCollection.html#method_getSnapshot">getSnapshot()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-PersistentCollection.html#method_getTypeClass">getTypeClass()</a></li>
|
|
<li><a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_getValues">getValues()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-PersistentCollection.html#method_hydrateAdd">hydrateAdd()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-PersistentCollection.html#method_hydrateSet">hydrateSet()</a></li>
|
|
<li><a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_indexOf">indexOf()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-PersistentCollection.html#method_initialize">initialize()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-PersistentCollection.html#method_isDirty">isDirty()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-PersistentCollection.html#method_isEmpty">isEmpty()</a></li>
|
|
<li><a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_isInitialized">isInitialized()</a></li>
|
|
<li><a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_key">key()</a></li>
|
|
<li><a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_last">last()</a></li>
|
|
<li><a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_map">map()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-PersistentCollection.html#method_matching">matching()</a></li>
|
|
<li><a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_next">next()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-PersistentCollection.html#method_offsetExists">offsetExists()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-PersistentCollection.html#method_offsetGet">offsetGet()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-PersistentCollection.html#method_offsetSet">offsetSet()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-PersistentCollection.html#method_offsetUnset">offsetUnset()</a></li>
|
|
<li><a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_partition">partition()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-PersistentCollection.html#method_remove">remove()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-PersistentCollection.html#method_removeElement">removeElement()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-PersistentCollection.html#method_set">set()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-PersistentCollection.html#method_setDirty">setDirty()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-PersistentCollection.html#method_setInitialized">setInitialized()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-PersistentCollection.html#method_setOwner">setOwner()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-PersistentCollection.html#method_slice">slice()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-PersistentCollection.html#method_takeSnapshot">takeSnapshot()</a></li>
|
|
<li><a href="classes/Doctrine-Common-Collections-AbstractLazyCollection.html#method_toArray">toArray()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-PersistentCollection.html#method_unwrap">unwrap()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-PersistentCollection.html#method_doInitialize">doInitialize()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-PersistentCollection.html#method_changed">changed()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-PersistentCollection.html#method_getUnitOfWork">getUnitOfWork()</a></li>
|
|
<li><a href="classes/Doctrine-ORM-PersistentCollection.html#method_restoreNewObjectsInDirtyCollection">restoreNewObjectsInDirtyCollection()</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-PersistentCollection.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>
|