protected function hasRoutingConfig()
    {
        $has_config = false;

        if ($this->locator) {
            try {
                $routing_file = $this->locator->locate($this->getRoutingFilename());

                if (filesize($routing_file) > 0) {
                    $this->debug(sprintf('hasRoutingConfig: Located Routing File %s', $routing_file));
                    $has_config = true;
                }
            } catch (\InvalidArgumentException $e) {}
        }

        return($has_config);
    }
protected function hasRoutingConfig()
    {
        $has_config = false;

        if ($this->locator) {
            try {
                $routing_file = $this->locator->locate($this->getRoutingFilename());

                if (filesize($routing_file) > 0) {
                    $this->debug(sprintf('hasRoutingConfig: Located Routing File %s', $routing_file));
                    $has_config = true;
                }
            } catch (\InvalidArgumentException $e) {}
        }

        return($has_config);
    }
protected function hasRoutingConfig ( ) { $ has_config = false ; if ( $ this -> locator ) { try { $ routing_file = $ this -> locator -> locate ( $ this -> getRoutingFilename ( ) ) ; if ( filesize ( $ routing_file ) > 0 ) { $ this -> debug ( sprintf ( 'hasRoutingConfig: Located Routing File %s' , $ routing_file ) ) ; $ has_config = true ; } } catch ( \ InvalidArgumentException $ e ) { } } return ( $ has_config ) ; }
hasRoutingConfig
Check if the routing file exists and needs to be parsed.

@return bool $has_config
hasRoutingConfig Check if the routing file exists and needs to be parsed .