From 9fb6dd7cbcd87b90839566b908d5d631ed2f6828 Mon Sep 17 00:00:00 2001 From: Richard Miller Date: Thu, 15 Nov 2012 19:13:58 +0000 Subject: [PATCH] Correcting method names in config component example --- components/config/definition.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/config/definition.rst b/components/config/definition.rst index dd867c82a55..493384e81bf 100644 --- a/components/config/definition.rst +++ b/components/config/definition.rst @@ -383,7 +383,7 @@ By changing a string value into an associative array with ``name`` as the key:: ->ifString() ->then(function($v) { return array('name'=> $v); }) ->end() - ->scalarValue('name')->isRequired() + ->scalarNode('name')->isRequired() // ... ->end() ;