Simplified exposure functions in README

This commit is contained in:
Francis Besset 2011-07-21 20:53:49 +02:00
parent 3c5ef798c1
commit 695b7fb663
1 changed files with 4 additions and 6 deletions

View File

@ -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)
{