public function setUriPattern($uriPattern)
    {
        if (!is_string($uriPattern)) {
            throw new \InvalidArgumentException(sprintf('URI Pattern must be of type string, %s given.', gettype($uriPattern)), 1223499724);
        }
        $this->uriPattern = $uriPattern;
        $this->isParsed = false;
    }
public function setUriPattern($uriPattern)
    {
        if (!is_string($uriPattern)) {
            throw new \InvalidArgumentException(sprintf('URI Pattern must be of type string, %s given.', gettype($uriPattern)), 1223499724);
        }
        $this->uriPattern = $uriPattern;
        $this->isParsed = false;
    }
public function setUriPattern ( $ uriPattern ) { if ( ! is_string ( $ uriPattern ) ) { throw new \ InvalidArgumentException ( sprintf ( 'URI Pattern must be of type string, %s given.' , gettype ( $ uriPattern ) ) , 1223499724 ) ; } $ this -> uriPattern = $ uriPattern ; $ this -> isParsed = false ; }
Sets the URI pattern this route should match with

@param string $uriPattern
@return void
@throws \InvalidArgumentException
Sets the URI pattern this route should match with