BeSimple/BeSimpleSoapBundle — pull request #84 by VEnis (2014-01-16 15:17:38+00:00)
Title: Fixed processing of cyclic types that points to each other

In the class BeSimple\SoapBundle\ServiceDefinition\Loader\AnnotationClassLoader in method loadType we have recursive call
```php
foreach ($loaded['properties'] as $name => $property) {
$complexType->add($name, $this->loadType($property->getValue()), $property->isNillable());
}
```
But saving of the processed complex type is done after recursive call.
```php
$this->typeRepository->addComplexType($complexType);
```
If in the annotations we have cyclic references then we have infinite loop while check

```php
if (!$this->typeRepository->hasType($phpType)) {
```
is not work. When we moving line
```php
$this->typeRepository->addComplexType($complexType);
```
before recursive call - it works correctly.