public function serveTheme($request)
    {
        $file = $this->getParams()->getThemesPath() . $request;

        if (file_exists($file)) {
            return new RawPage($file);
        }

        throw new NotFoundException;
    }
public function serveTheme($request)
    {
        $file = $this->getParams()->getThemesPath() . $request;

        if (file_exists($file)) {
            return new RawPage($file);
        }

        throw new NotFoundException;
    }
public function serveTheme ( $ request ) { $ file = $ this -> getParams ( ) -> getThemesPath ( ) . $ request ; if ( file_exists ( $ file ) ) { return new RawPage ( $ file ) ; } throw new NotFoundException ; }
Handle a request on custom themes

@param string $request
@return \Todaymade\Daux\Format\Base\Page
@throws NotFoundException
Handle a request on custom themes