|
@@ -178,7 +178,7 @@ class YamlDriver extends AbstractFileDriver
|
|
$methods = array();
|
|
$methods = array();
|
|
foreach ($config as $name) {
|
|
foreach ($config as $name) {
|
|
if (!$class->hasMethod($name)) {
|
|
if (!$class->hasMethod($name)) {
|
|
- throw new RuntimeException(sprintf('The method %s does not exist in class %s.', $mName, $name));
|
|
|
|
|
|
+ throw new RuntimeException(sprintf('The method %s does not exist in class %s.', $name, $class->getName()));
|
|
}
|
|
}
|
|
|
|
|
|
$methods[] = new MethodMetadata($class->getName(), $name);
|
|
$methods[] = new MethodMetadata($class->getName(), $name);
|
|
@@ -186,4 +186,4 @@ class YamlDriver extends AbstractFileDriver
|
|
|
|
|
|
return $methods;
|
|
return $methods;
|
|
}
|
|
}
|
|
-}
|
|
|
|
|
|
+}
|