Permalink
Browse files

changed getName() to name on all Reflection* object calls (fixes #455…

  • Loading branch information...
1 parent b6916c7 commit c7fc49daf41dc76e2e2f629474e8777837ba3fd0 @fabpot fabpot committed Jun 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Container.php
View
@@ -288,7 +288,7 @@ public function getServiceIds()
$ids = array();
$r = new \ReflectionClass($this);
foreach ($r->getMethods() as $method) {
- if (preg_match('/^get(.+)Service$/', $method->getName(), $match)) {
+ if (preg_match('/^get(.+)Service$/', $method->name, $match)) {
$ids[] = self::underscore($match[1]);
}
}

0 comments on commit c7fc49d

Please sign in to comment.