Adds the methodMap property definition
string
private function addMethodMap() {
if (!($definitions = $this->container
->getDefinitions())) {
return '';
}
$code = " \$this->methodMap = array(\n";
ksort($definitions);
foreach ($definitions as $id => $definition) {
$code .= ' ' . var_export($id, true) . ' => ' . var_export('get' . Container::camelize($id) . 'Service', true) . ",\n";
}
return $code . " );\n";
}