public function getController()
    {
        if (isset($this->uris[0]) && '' !== $this->uris[0]) {
            $_controller = $this->uris[0];
        } else {
            throw new NotFoundException('Cannot dispatch controller name.');
        }

        return strip_tags($_controller);
    }
public function getController()
    {
        if (isset($this->uris[0]) && '' !== $this->uris[0]) {
            $_controller = $this->uris[0];
        } else {
            throw new NotFoundException('Cannot dispatch controller name.');
        }

        return strip_tags($_controller);
    }
public function getController ( ) { if ( isset ( $ this -> uris [ 0 ] ) && '' !== $ this -> uris [ 0 ] ) { $ _controller = $ this -> uris [ 0 ] ; } else { throw new NotFoundException ( 'Cannot dispatch controller name.' ) ; } return strip_tags ( $ _controller ) ; }
Returns the controller name

@return string

@throws \Kotori\Exception\NotFoundException
Returns the controller name