Cleaned files
This commit is contained in:
@ -14,18 +14,18 @@ class Method
|
||||
{
|
||||
private $name;
|
||||
private $service;
|
||||
|
||||
|
||||
public function __construct($values)
|
||||
{
|
||||
$this->name = isset($values['value']) ? $values['value'] : null;
|
||||
$this->service = isset($values['service']) ? $values['service'] : null;
|
||||
}
|
||||
|
||||
|
||||
public function getName($default = null)
|
||||
{
|
||||
return $this->name !== null ? $this->name : $default;
|
||||
}
|
||||
|
||||
|
||||
public function getService()
|
||||
{
|
||||
return $this->service;
|
||||
|
@ -13,14 +13,14 @@ namespace Bundle\WebServiceBundle\ServiceDefinition\Annotation;
|
||||
class Param extends TypedElement
|
||||
{
|
||||
private $name;
|
||||
|
||||
|
||||
public function __construct($values)
|
||||
{
|
||||
parent::__construct($values);
|
||||
|
||||
|
||||
$this->name = $values['value'];
|
||||
}
|
||||
|
||||
|
||||
public function getName()
|
||||
{
|
||||
return $this->name;
|
||||
|
@ -11,7 +11,7 @@
|
||||
namespace Bundle\WebServiceBundle\ServiceDefinition\Annotation;
|
||||
|
||||
class Result extends TypedElement
|
||||
{
|
||||
{
|
||||
public function __construct($values)
|
||||
{
|
||||
parent::__construct($values);
|
||||
|
@ -14,7 +14,7 @@ abstract class TypedElement
|
||||
{
|
||||
private $phpType;
|
||||
private $xmlType;
|
||||
|
||||
|
||||
public function __construct($values)
|
||||
{
|
||||
foreach(array('type', 'phpType') as $key)
|
||||
@ -24,15 +24,15 @@ abstract class TypedElement
|
||||
$this->phpType = $values[$key];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
$this->xmlType = isset($values['xmlType']) ? $values['xmlType'] : null;
|
||||
}
|
||||
|
||||
|
||||
public function getPhpType()
|
||||
{
|
||||
return $this->phpType;
|
||||
}
|
||||
|
||||
|
||||
public function getXmlType()
|
||||
{
|
||||
return $this->xmlType;
|
||||
|
Reference in New Issue
Block a user