src/Controllers/ModxController.php
public function execute($request, $response, $args)
    {
        $this->request = $request;
        $this->response = $response;
        // dd($request);
        
        // dd($this->modx->db);
        
        // URL to resource ID
        $this->resourceId = $this->dispatchRoute();
        if (!$this->resourceId) {
            return null;
        }

        // пока нет БД и кода, всегда возвращаем null
        return null;
    }
public function execute($request, $response, $args)
    {
        $this->request = $request;
        $this->response = $response;
        // dd($request);
        
        // dd($this->modx->db);
        
        // URL to resource ID
        $this->resourceId = $this->dispatchRoute();
        if (!$this->resourceId) {
            return null;
        }

        // пока нет БД и кода, всегда возвращаем null
        return null;
    }
Main entry point
@return null|Response MODX parser result