public function ExecutionContext::isObjectInitialized in Plug 7
Returns whether 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:
Return value
bool Whether the object was already initialized
Overrides ExecutionContextInterface::isObjectInitialized
See also
ObjectInitializerInterface
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Context/ ExecutionContext.php, line 400
Class
- ExecutionContext
- The context used and created by {@link ExecutionContextFactory}.
Namespace
Symfony\Component\Validator\ContextCode
public function isObjectInitialized($cacheKey) {
return isset($this->initializedObjects[$cacheKey]);
}