src/RouteCollectionBuilder.php
public function any($pattern, $handler, array $requirements = [], array $defaults = [])
    {
        $this->addRoute('GET|HEAD|POST|PUT|PATCH|DELETE', $pattern, $handler, $requirements, $defaults);
    }
public function any($pattern, $handler, array $requirements = [], array $defaults = [])
    {
        $this->addRoute('GET|HEAD|POST|PUT|PATCH|DELETE', $pattern, $handler, $requirements, $defaults);
    }
public function any ( $ pattern , $ handler , array $ requirements = [ ] , array $ defaults = [ ] ) { $ this -> addRoute ( 'GET|HEAD|POST|PUT|PATCH|DELETE' , $ pattern , $ handler , $ requirements , $ defaults ) ; }
Adds a route to the collection that handles all available request
methods.

@see RouteCollectionBuilder#get()
Adds a route to the collection that handles all available request methods .