2010-12-30 02:18:10 +01:00
|
|
|
<?php
|
|
|
|
/*
|
|
|
|
* This file is part of the WebServiceBundle.
|
|
|
|
*
|
|
|
|
* (c) Christian Kerl <christian-kerl@web.de>
|
|
|
|
*
|
|
|
|
* This source file is subject to the MIT license that is bundled
|
|
|
|
* with this source code in the file LICENSE.
|
|
|
|
*/
|
|
|
|
|
|
|
|
namespace Bundle\WebServiceBundle\Converter;
|
|
|
|
|
|
|
|
/**
|
|
|
|
*
|
|
|
|
* @author Christian Kerl <christian-kerl@web.de>
|
|
|
|
*/
|
|
|
|
use Bundle\WebServiceBundle\SoapKernel;
|
|
|
|
|
|
|
|
use Symfony\Component\DependencyInjection\ContainerInterface;
|
|
|
|
|
|
|
|
class ConverterRepository
|
|
|
|
{
|
|
|
|
private $typeConverters = array();
|
|
|
|
|
|
|
|
public function __construct()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
public function addTypeConverter(TypeConverterInterface $converter)
|
|
|
|
{
|
|
|
|
$this->typeConverters[] = $converter;
|
|
|
|
}
|
|
|
|
|
2011-02-03 01:07:08 +01:00
|
|
|
public function getTypeConverters()
|
2010-12-30 02:18:10 +01:00
|
|
|
{
|
2011-02-03 01:07:08 +01:00
|
|
|
return $this->typeConverters;
|
2010-12-30 02:18:10 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
public function registerTypeConverterServices(ContainerInterface $container)
|
|
|
|
{
|
|
|
|
}
|
2011-07-14 17:45:03 +02:00
|
|
|
}
|