[SoapBundle] Fixed compatibility with Symfony 2.0

This commit is contained in:
Francis Besset 2013-08-06 15:20:17 +02:00
parent 9b0b9a8944
commit 990cca2783
4 changed files with 12 additions and 15 deletions

View File

@ -1,8 +1,10 @@
<?php <?php
/* /*
* This file is part of the BeSimpleSoapBundle. * This file is part of the BeSimpleSoapBundle.
* *
* (c) Christian Kerl <christian-kerl@web.de> * (c) Christian Kerl <christian-kerl@web.de>
* (c) Francis Besset <francis.besset@gmail.com>
* *
* This source file is subject to the MIT license that is bundled * This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE. * with this source code in the file LICENSE.
@ -15,7 +17,7 @@ use BeSimple\SoapBundle\ServiceDefinition\Annotation;
use Doctrine\Common\Annotations\Reader; use Doctrine\Common\Annotations\Reader;
use Symfony\Component\Config\Loader\LoaderInterface; use Symfony\Component\Config\Loader\Loader;
use Symfony\Component\Config\Loader\LoaderResolverInterface; use Symfony\Component\Config\Loader\LoaderResolverInterface;
/** /**
@ -25,7 +27,7 @@ use Symfony\Component\Config\Loader\LoaderResolverInterface;
* *
* @author Christian Kerl <christian-kerl@web.de> * @author Christian Kerl <christian-kerl@web.de>
*/ */
class AnnotationClassLoader implements LoaderInterface class AnnotationClassLoader extends Loader
{ {
protected $reader; protected $reader;
@ -181,18 +183,7 @@ class AnnotationClassLoader implements LoaderInterface
} }
/** /**
* Sets the loader resolver. * @return null
*
* @param LoaderResolverInterface $resolver A LoaderResolverInterface instance
*/
public function setResolver(LoaderResolverInterface $resolver)
{
}
/**
* Gets the loader resolver.
*
* @return LoaderResolverInterface A LoaderResolverInterface instance
*/ */
public function getResolver() public function getResolver()
{ {

View File

@ -1,8 +1,10 @@
<?php <?php
/* /*
* This file is part of the BeSimpleSoapBundle. * This file is part of the BeSimpleSoapBundle.
* *
* (c) Christian Kerl <christian-kerl@web.de> * (c) Christian Kerl <christian-kerl@web.de>
* (c) Francis Besset <francis.besset@gmail.com>
* *
* This source file is subject to the MIT license that is bundled * This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE. * with this source code in the file LICENSE.

View File

@ -1,8 +1,10 @@
<?php <?php
/* /*
* This file is part of the BeSimpleSoapBundle. * This file is part of the BeSimpleSoapBundle.
* *
* (c) Christian Kerl <christian-kerl@web.de> * (c) Christian Kerl <christian-kerl@web.de>
* (c) Francis Besset <francis.besset@gmail.com>
* *
* This source file is subject to the MIT license that is bundled * This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE. * with this source code in the file LICENSE.

View File

@ -1,8 +1,10 @@
<?php <?php
/* /*
* This file is part of the BeSimpleSoapBundle. * This file is part of the BeSimpleSoapBundle.
* *
* (c) Christian Kerl <christian-kerl@web.de> * (c) Christian Kerl <christian-kerl@web.de>
* (c) Francis Besset <francis.besset@gmail.com>
* *
* This source file is subject to the MIT license that is bundled * This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE. * with this source code in the file LICENSE.