src/Graviton/GeneratorBundle/Definition/JsonDefinition.php
public function hasController()
    {
        return $this->def->getService() !== null &&
            $this->def->getService()->getRouterBase() !== null;
    }
public function hasController()
    {
        return $this->def->getService() !== null &&
            $this->def->getService()->getRouterBase() !== null;
    }
public function hasController ( ) { return $ this -> def -> getService ( ) !== null && $ this -> def -> getService ( ) -> getRouterBase ( ) !== null ; }
Returns whether this definition requires the generation
of a controller. normally yes, but sometimes not ;-)

@return bool true if yes, false if no
Returns whether this definition requires the generation of a controller . normally yes but sometimes not ; - )