You are here

private function ProxyGenerator::getParameterNamesForInvoke 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::getParameterNamesForInvoke()

Parameters

\ReflectionParameter[] $parameters:

Return value

string[]

1 call to ProxyGenerator::getParameterNamesForInvoke()
ProxyGenerator::generateMethods in vendor/doctrine/common/lib/Doctrine/Common/Proxy/ProxyGenerator.php
Generates decorated methods by picking those available in the parent class.

File

vendor/doctrine/common/lib/Doctrine/Common/Proxy/ProxyGenerator.php, line 972

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

private function getParameterNamesForInvoke(array $parameters) {
  return array_map(function (\ReflectionParameter $parameter) {
    return '$' . $parameter
      ->getName();
  }, $parameters);
}