src/Graviton/GeneratorBundle/Definition/JsonDefinition.php
public function getParentService()
    {
        if ($this->def->getService() === null ||
            $this->def->getService()->getParent() === null) {
            return 'graviton.rest.controller';
        }

        return $this->def->getService()->getParent();
    }
public function getParentService()
    {
        if ($this->def->getService() === null ||
            $this->def->getService()->getParent() === null) {
            return 'graviton.rest.controller';
        }

        return $this->def->getService()->getParent();
    }
public function getParentService ( ) { if ( $ this -> def -> getService ( ) === null || $ this -> def -> getService ( ) -> getParent ( ) === null ) { return 'graviton.rest.controller' ; } return $ this -> def -> getService ( ) -> getParent ( ) ; }
Returns the parent service to use when adding the service xml

Defaults to graviton.rest.controller

@return string base controller
Returns the parent service to use when adding the service xml