Routing/HttpsRemovalLoader.php
public function load($resource, $type = null)
    {
        $collection = $this->loader->load($resource, $type);

        foreach ($collection->all() as $route) {
            if ('https' === $route->getRequirement('_scheme')) {
                $requirements = $route->getRequirements();
                unset($requirements['_scheme']);
                $route->setRequirements($requirements);
            }
        }

        return $collection;
    }
public function load($resource, $type = null)
    {
        $collection = $this->loader->load($resource, $type);

        foreach ($collection->all() as $route) {
            if ('https' === $route->getRequirement('_scheme')) {
                $requirements = $route->getRequirements();
                unset($requirements['_scheme']);
                $route->setRequirements($requirements);
            }
        }

        return $collection;
    }
public function load ( $ resource , $ type = null ) { $ collection = $ this -> loader -> load ( $ resource , $ type ) ; foreach ( $ collection -> all ( ) as $ route ) { if ( 'https' === $ route -> getRequirement ( '_scheme' ) ) { $ requirements = $ route -> getRequirements ( ) ; unset ( $ requirements [ '_scheme' ] ) ; $ route -> setRequirements ( $ requirements ) ; } } return $ collection ; }
Loads a RouteCollection but removes HTTPS scheme requirements from its
routes before returning the collection.

@see Symfony\Component\Config\Loader\LoaderInterface::load()
Loads a RouteCollection but removes HTTPS scheme requirements from its routes before returning the collection .