You are here

constant ProxyGenerator::PATTERN_MATCH_ID_METHOD in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/doctrine/common/lib/Doctrine/Common/Proxy/ProxyGenerator.php \Doctrine\Common\Proxy\ProxyGenerator::PATTERN_MATCH_ID_METHOD

Used to match very simple id methods that don't need to be decorated since the identifier is known.

File

vendor/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\Proxy

Code

const PATTERN_MATCH_ID_METHOD = '((public\\s+)?(function\\s+%s\\s*\\(\\)\\s*)\\s*{\\s*return\\s*\\$this->%s;\\s*})i';