From 695b7fb663a6008a9ca09c0ca63ba6a01acee13a Mon Sep 17 00:00:00 2001 From: Francis Besset Date: Thu, 21 Jul 2011 20:53:49 +0200 Subject: [PATCH] Simplified exposure functions in README --- README.markdown | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/README.markdown b/README.markdown index 8883cbd..e8434f7 100644 --- a/README.markdown +++ b/README.markdown @@ -67,17 +67,15 @@ QuickStart * Annotate your controller methods // src/Acme/DemoBundle/Controller/DemoController.php - use BeSimple\SoapBundle\ServiceDefinition\Annotation\Method; - use BeSimple\SoapBundle\ServiceDefinition\Annotation\Param; - use BeSimple\SoapBundle\ServiceDefinition\Annotation\Result; + use BeSimple\SoapBundle\ServiceDefinition\Annotation as Soap; use BeSimple\SoapBundle\Soap\SoapResponse; class DemoController extends Controller { /** - * @Method("Hello") - * @Param("name", phpType = "string") - * @Result(phpType = "string") + * @Soap\Method("Hello") + * @Soap\Param("name", phpType = "string") + * @Soap\Result(phpType = "string") */ public function helloAction($name) {