2010-12-30 02:18:10 +01:00
|
|
|
<?php
|
|
|
|
/*
|
2011-07-18 22:43:12 +02:00
|
|
|
* This file is part of the BeSimpleSoapBundle.
|
2010-12-30 02:18:10 +01:00
|
|
|
*
|
|
|
|
* (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.
|
|
|
|
*/
|
|
|
|
|
2011-07-18 22:43:12 +02:00
|
|
|
namespace BeSimple\SoapBundle\Converter;
|
2010-12-30 02:18:10 +01:00
|
|
|
|
2011-07-17 10:46:54 +02:00
|
|
|
use Symfony\Component\DependencyInjection\ContainerInterface;
|
|
|
|
|
2010-12-30 02:18:10 +01:00
|
|
|
/**
|
|
|
|
* @author Christian Kerl <christian-kerl@web.de>
|
|
|
|
*/
|
|
|
|
class ConverterRepository
|
|
|
|
{
|
|
|
|
private $typeConverters = array();
|
|
|
|
|
|
|
|
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
|
|
|
}
|
2011-08-24 18:00:56 +02:00
|
|
|
}
|