src/Active.php
public function checkUri($uris)
    {
        if (!$this->request) {
            return false;
        }

        foreach ((array)$uris as $uri) {
            if ($this->uri == $uri) {
                return true;
            }
        }

        return false;
    }
public function checkUri($uris)
    {
        if (!$this->request) {
            return false;
        }

        foreach ((array)$uris as $uri) {
            if ($this->uri == $uri) {
                return true;
            }
        }

        return false;
    }
public function checkUri ( $ uris ) { if ( ! $ this -> request ) { return false ; } foreach ( ( array ) $ uris as $ uri ) { if ( $ this -> uri == $ uri ) { return true ; } } return false ; }
Check if the URI of the current request matches one of the specific URIs

@param array|string $uris

@return bool
Check if the URI of the current request matches one of the specific URIs