The bundle is back!

The definition of service has changed, read the README.
This commit is contained in:
Francis Besset
2011-07-17 10:46:54 +02:00
parent 81118f8d47
commit 1c608ccf20
48 changed files with 641 additions and 535 deletions

View File

@ -10,19 +10,47 @@
namespace Bundle\WebServiceBundle\ServiceDefinition\Annotation;
class Param extends TypedElement
/**
* @Annotation
*/
class Param extends Configuration implements TypedElementInterface
{
private $name;
private $value;
private $phpType;
private $xmlType;
public function __construct($values)
public function getValue()
{
parent::__construct($values);
$this->name = $values['value'];
return $this->value;
}
public function getName()
public function getPhpType()
{
return $this->name;
return $this->phpType;
}
public function getXmlType()
{
return $this->xmlType;
}
public function setValue($value)
{
$this->value = $value;
}
public function setPhpType($phpType)
{
$this->phpType = $phpType;
}
public function setXmlType($xmlType)
{
$this->xmlType = $xmlType;
}
public function getAliasName()
{
return 'param';
}
}