src/Application.php
public function mirror($uriPattern, $mirror)
    {
        return $this->any(
            $uriPattern,
            function (AppController $appController, array $args) use ($mirror) {
                return $appController->call($mirror, $args);
            }
        );
    }
public function mirror($uriPattern, $mirror)
    {
        return $this->any(
            $uriPattern,
            function (AppController $appController, array $args) use ($mirror) {
                return $appController->call($mirror, $args);
            }
        );
    }
public function mirror ( $ uriPattern , $ mirror ) { return $ this -> any ( $ uriPattern , function ( AppController $ appController , array $ args ) use ( $ mirror ) { return $ appController -> call ( $ mirror , $ args ) ; } ) ; }
Adds a mirror of a route.

@param string $uriPattern
@param string $mirror
@return IRoutePatternSetterAdapter
Adds a mirror of a route .