code: public function convert($filename, $namespace)
      {
          $def = $this->parser->parse($filename);
  
          $namespace = $this->buildNamespace($def, $namespace);
  
          $controllers = array();
  
          if ($def->getResources()) {
              foreach ($def->getResources() as $resource) {
  
                  $controller = new SymfonyController(ucfirst($resource->getDisplayName()) . 'Controller', $namespace, $resource->getDescription());
                  $this->addActions($controller, $resource);
                  $controllers[] = $controller;
              }
          }
  
          return $controllers;
      }
docs: {@inheritDoc}