Core API
Module: Core
Namespace root: DafCore
The site already contains dedicated static Core type pages. Use this index to navigate quickly.
Primary Runtime Types
- Application - app bootstrap and run pipeline.
- Router - route registration, middleware chain, and dispatch.
- Request / Response - HTTP abstraction.
- DIContainer / ServicesProvidor - dependency resolution.
- ViewManager - host/layout/component rendering pipeline.
Controller Extension Points (Protected)
File paths:
DafPhpFramwork/DafCore/Controllers/Controller.phpDafPhpFramwork/DafCore/Controllers/ApiController.php
Controller::Ok/Created/BadRequest/NotFound/Forbidden/Unauthorized/InternalError/NoContentController::Status,Controller::RenderViewApiController::Ok/Created/NoContent/BadRequest/NotFound/Forbidden/Unauthorized/InternalErrorBaseController::Redirect,BaseController::RedirectBack
Common Extra Types
Session(stateful session API),AntiForgery(CSRF token lifecycle).Componentprotected/virtual lifecycle points:OnLoad(),OnRender(),Render().RouteMatchContextandApplicationContextfor middleware and endpoint metadata flow.