TrackableTrait¶
-
trait
atk4\core\TrackableTrait¶ - If class implements that interface and is added into “Container”,then container will keep track of it. This method can alsospecify desired name of the object.
Source: vendor/atk4/core/src/TrackableTrait.php#10 Used traits: atk4\core\NameTrait
Properties¶
-
public static property
atk4\core\TrackableTrait::$_trackableTrait¶ - Check this property to see if trait is present in the object.
Source: vendor/atk4/core/src/TrackableTrait.php#19 Type: bool
-
public static property
atk4\core\TrackableTrait::$owner¶ - Link to (parent) object into which we added this object.
Source: vendor/atk4/core/src/TrackableTrait.php#26 Type: object
-
public static property
atk4\core\TrackableTrait::$short_name¶ - Name of the object in owner’s element array.
Source: vendor/atk4/core/src/TrackableTrait.php#33 Type: string
Methods¶
-
public
atk4\core\TrackableTrait::getDesiredName()¶ - If name of the object is omitted then it’s naturally to name themafter the class. You can specify a different naming pattern though.
Source: vendor/atk4/core/src/TrackableTrait.php#41 Returns: string
-
public
atk4\core\TrackableTrait::destroy()¶ - Removes object from parent, so that PHP’s Garbage Collector candispose of it.
Source: vendor/atk4/core/src/TrackableTrait.php#50