constant ProxyGenerator::PATTERN_MATCH_ID_METHOD in Plug 7
Used to match very simple id methods that don't need to be decorated since the identifier is known.
File
- lib/
doctrine/ common/ lib/ Doctrine/ Common/ Proxy/ ProxyGenerator.php, line 40
Class
- ProxyGenerator
- This factory is used to generate proxy classes. It builds proxies from given parameters, a template and class metadata.
Namespace
Doctrine\Common\ProxyCode
const PATTERN_MATCH_ID_METHOD = '((public\\s)?(function\\s{1,}%s\\s?\\(\\)\\s{1,})\\s{0,}{\\s{0,}return\\s{0,}\\$this->%s;\\s{0,}})i';