[SoapBundle][SoapCommon] Removed unused TypeRepository in Definition\Method classes
This commit is contained in:
parent
1e82d7fdd7
commit
60e3714602
|
@ -88,7 +88,6 @@ class AnnotationClassLoader extends Loader
|
||||||
|
|
||||||
$serviceMethod = new Definition\Method(
|
$serviceMethod = new Definition\Method(
|
||||||
$annotation->getValue(),
|
$annotation->getValue(),
|
||||||
$this->typeRepository,
|
|
||||||
$this->getController($class, $method, $annotation)
|
$this->getController($class, $method, $annotation)
|
||||||
);
|
);
|
||||||
} elseif ($annotation instanceof Annotation\Result) {
|
} elseif ($annotation instanceof Annotation\Result) {
|
||||||
|
|
|
@ -23,9 +23,9 @@ class Method extends BaseMethod
|
||||||
{
|
{
|
||||||
private $controller;
|
private $controller;
|
||||||
|
|
||||||
public function __construct($name, TypeRepository $typeRepository, $controller)
|
public function __construct($name, $controller)
|
||||||
{
|
{
|
||||||
parent::__construct($name, $typeRepository);
|
parent::__construct($name);
|
||||||
|
|
||||||
$this->controller = $controller;
|
$this->controller = $controller;
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,14 +26,14 @@ class Method
|
||||||
private $output;
|
private $output;
|
||||||
private $fault;
|
private $fault;
|
||||||
|
|
||||||
public function __construct($name, TypeRepository $typeRepository)
|
public function __construct($name)
|
||||||
{
|
{
|
||||||
$this->name = $name;
|
$this->name = $name;
|
||||||
|
|
||||||
$this->headers = new Message($name.'Header', $typeRepository);
|
$this->headers = new Message($name.'Header');
|
||||||
$this->input = new Message($name.'Request', $typeRepository);
|
$this->input = new Message($name.'Request');
|
||||||
$this->output = new Message($name.'Response', $typeRepository);
|
$this->output = new Message($name.'Response');
|
||||||
$this->fault = new Message($name.'Fault', $typeRepository);
|
$this->fault = new Message($name.'Fault');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getName()
|
public function getName()
|
||||||
|
|
Loading…
Reference in New Issue