src/Controller/ControllerTrait.php
public function getRouteMatch()
    {
        if (null === $this->routeMatch) {
            /** @noinspection PhpUndefinedMethodInspection */
            $this->routeMatch = $this->getEvent()->getRouteMatch();
        }

        return $this->routeMatch;
    }
public function getRouteMatch()
    {
        if (null === $this->routeMatch) {
            /** @noinspection PhpUndefinedMethodInspection */
            $this->routeMatch = $this->getEvent()->getRouteMatch();
        }

        return $this->routeMatch;
    }
public function getRouteMatch ( ) { if ( null === $ this -> routeMatch ) { /** @noinspection PhpUndefinedMethodInspection */ $ this -> routeMatch = $ this -> getEvent ( ) -> getRouteMatch ( ) ; } return $ this -> routeMatch ; }
Return matched route.

@return \Zend\Router\RouteMatch
Return matched route .