src/RouteCollectionBuilder.php
public function get($pattern, $handler, array $requirements = [], array $defaults = [])
    {
        $this->addRoute('GET', $pattern, $handler, $requirements, $defaults);
    }
public function get($pattern, $handler, array $requirements = [], array $defaults = [])
    {
        $this->addRoute('GET', $pattern, $handler, $requirements, $defaults);
    }
public function get ( $ pattern , $ handler , array $ requirements = [ ] , array $ defaults = [ ] ) { $ this -> addRoute ( 'GET' , $ pattern , $ handler , $ requirements , $ defaults ) ; }
Adds a GET route to the collection.

@param string $pattern
@param string $handler
@param array  $requirements
@param array  $defaults

@return void
Adds a GET route to the collection .