Repository navigation
Internals Model Exceptions ModelCreationException
Framework Internals · Subsystem overview · Developer guide
Source: awt_src/classes/model/exceptions/ModelCreationException.php · Snapshot 8411f4287706.
Models add hydration, persistence, relations, casts and attribute controls to DatabaseManager. Collections hydrate already fetched rows and provide iteration/counting.
use exception\ExceptionBase;class ModelCreationException extends ExceptionBaseNo own constants, enum cases, traits or property declarations. Inherited members are documented on the parent reference page.
| Method | Signature |
|---|---|
| buildMessage | public function buildMessage(): string |
public function buildMessage(): stringReturn expressions (including local callbacks): "Model Exception: There was an error creating the model. Within {$this->context->contextName}.".
Implementation, validation guards and interaction order
public function buildMessage(): string
{
return "Model Exception: There was an error creating the model. Within {$this->context->contextName}.";
}AWT Framework Wiki · Home · Installation Guide · Developer Guide · Framework Internals
Philosophy · Architecture · Known discrepancies · Verification
Installation Guide
Developer Guide
- Learning sequence
- First package
- Package structure
- Lifecycle
- Runtimes
- Events and objects
- Routing and controllers
- Views and resources
- Database and models
- Storage and caching
- Configuration and CLI
- Responses and errors
- Extension points
Framework Internals
- Architecture
- Bootstrap
- Packages
- Runtime
- Events and context
- Objects
- HTTP routing and controllers
- Rendering
- Blade integration
- Database
- Models
- Storage and caching
- Settings
- CLI
- Identity and sessions
- Responses
- Errors
- Complete source inventory
Documentation notes