Added RST documentation

This commit is contained in:
Francis Besset
2011-08-02 23:27:56 +02:00
parent 9c2dd31b68
commit c4217ce816
7 changed files with 515 additions and 0 deletions

View File

@ -0,0 +1,26 @@
Array
=====
Controller
----------
.. code-block:: php
namespace My\App\Controller;
use BeSimple\SoapBundle\ServiceDefinition\Annotation as Soap;
use BeSimple\SoapBundle\Soap\SoapResponse;
use Symfony\Component\DependencyInjection\ContainerAware;
class DemoController extends ContainerAware
{
/**
* @Soap\Method("isString")
* @Soap\Param("strings", phpType = "string[]")
* @Soap\Result(phpType = "boolean")
*/
public function helloAction(array $strings)
{
return new SoapResponse(true);
}
}