private function ProxyGenerator::getParameterNamesForInvoke in Plug 7
Parameters
\ReflectionParameter[] $parameters:
Return value
string[]
1 call to ProxyGenerator::getParameterNamesForInvoke()
- ProxyGenerator::generateMethods in lib/
doctrine/ common/ lib/ Doctrine/ Common/ Proxy/ ProxyGenerator.php - Generates decorated methods by picking those available in the parent class.
File
- lib/
doctrine/ common/ lib/ Doctrine/ Common/ Proxy/ ProxyGenerator.php, line 971
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
private function getParameterNamesForInvoke(array $parameters) {
return array_map(function (\ReflectionParameter $parameter) {
return '$' . $parameter
->getName();
}, $parameters);
}