BeSimpleSoap/src/BeSimple/SoapBundle/ServiceDefinition/Method.php

43 lines
961 B
PHP
Raw Normal View History

<?php
2010-10-08 17:01:27 +02:00
/*
* This file is part of the BeSimpleSoap.
2010-10-08 17:01:27 +02:00
*
* (c) Christian Kerl <christian-kerl@web.de>
* (c) Francis Besset <francis.besset@gmail.com>
2010-10-08 17:01:27 +02:00
*
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace BeSimple\SoapBundle\ServiceDefinition;
use BeSimple\SoapCommon\Definition\Method as BaseMethod;
use BeSimple\SoapCommon\Definition\Type\TypeRepository;
/**
* @author Christian Kerl <christian-kerl@web.de>
* @author Francis Besset <francis.besset@gmail.com>
*/
class Method extends BaseMethod
{
private $controller;
public function __construct($name, TypeRepository $typeRepository, $controller)
{
parent::__construct($name, $typeRepository);
$this->controller = $controller;
}
public function getController()
{
return $this->controller;
}
public function getVersions()
2011-01-07 23:00:17 +01:00
{
return array(\SOAP_1_1);
2011-01-07 23:00:17 +01:00
}
}