BaseComponent
Less than 1 minute
BaseComponent
Abstract base class for migration action components.
class BaseComponent extends \Hazaar\DBI\Manager\Migration\Action\Component\StructProvides a structure for components used in migration actions, allowing for change detection.
Methods
changed
Determines if the component has changed compared to another instance.
public changed(self $component): ?selfOverride this method in subclasses to implement custom change detection logic.
Parameters
| Parameter | Type | Description |
|---|---|---|
$component | self | the component to compare against |
Generated by Hazaar API Doc Generator on Tue, 21 Apr 2026 04:00:24 +0000