Webiny\Component\Router\Route\Route::compile PHP 메소드

compile() 공개 메소드

Compiles the route object and returns an instance of CompiledRoute.
public compile ( ) : CompiledRoute
리턴 CompiledRoute
    public function compile()
    {
        if ($this->isNull($this->compiledRoute)) {
            $this->compiledRoute = RouteCompiler::compile($this);
        }
        return $this->compiledRoute;
    }