InitializerTrait

trait atk4\core\InitializerTrait
Object with this trait will have it’s init() method executed
automatically when initialized through add().
Source:vendor/atk4/core/src/InitializerTrait.php#9

Properties

public static property atk4\core\InitializerTrait::$_initializerTrait
Check this property to see if trait is present in the object.
Source:vendor/atk4/core/src/InitializerTrait.php#16
Type:bool
public static property atk4\core\InitializerTrait::$_initialized
To make sure you have called parent::init() properly.
Source:vendor/atk4/core/src/InitializerTrait.php#23
Type:bool

Methods

public atk4\core\InitializerTrait::init()
Initialize object. Always call parent::init(). Do not call directly.
Source:vendor/atk4/core/src/InitializerTrait.php#28