This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component/Validator/Context
Bernhard Schussek cd29962dc0 minor #11463 [Validator] prevent unnecessary calls inside ExecutionContext (Tobion)
This PR was merged into the 2.5 branch.

Discussion
----------

[Validator] prevent unnecessary calls inside ExecutionContext

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT

Small performance improvement by preventing calls to `PropertyPath::append($this->propertyPath, $subPath)` when not needed.

Commits
-------

d6d462a [Validator] do not call getter inside ExecutionContext to prevent unnecessary calls
2014-07-28 16:51:00 +02:00
..
ExecutionContext.php minor #11463 [Validator] prevent unnecessary calls inside ExecutionContext (Tobion) 2014-07-28 16:51:00 +02:00
ExecutionContextFactory.php [Validator] Optimized use statements 2014-03-30 18:30:09 +02:00
ExecutionContextFactoryInterface.php [Validator] Changed context manager to context factory 2014-03-30 18:28:56 +02:00
ExecutionContextInterface.php [Validator] Added markObjectAsInitialized() and isObjectInitialized() to ExecutionContextInterface 2014-07-26 14:46:01 +02:00
LegacyExecutionContext.php [Validator] Optimized use statements 2014-03-30 18:30:09 +02:00
LegacyExecutionContextFactory.php [Validator] Optimized use statements 2014-03-30 18:30:09 +02:00