BaseComponent
Less than 1 minute
BaseComponent
Abstract base class for migration action components.
class BaseComponent extends \Hazaar\Model\StructExtends: Hazaar\Model\Struct
Provides 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): ?selfReturns: self
Override 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 Thu, 22 Oct 2026 05:05:30 +0000