public function ExecutionContext::markObjectAsInitialized in Plug 7
Marks that an object was initialized.
@internal Used by the validator engine. Should not be called by user code.
Parameters
string $cacheKey The hash of the object:
Overrides ExecutionContextInterface::markObjectAsInitialized
See also
ObjectInitializerInterface
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Context/ ExecutionContext.php, line 392
Class
- ExecutionContext
- The context used and created by {@link ExecutionContextFactory}.
Namespace
Symfony\Component\Validator\ContextCode
public function markObjectAsInitialized($cacheKey) {
$this->initializedObjects[$cacheKey] = true;
}