uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[0]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[0]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[0]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[0]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[0]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[0]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[1]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[1]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[1]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[1]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[1]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[1]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[2]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[2]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[2]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[2]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[2]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[2]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[3]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[3]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[3]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[3]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[3]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[3]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[4]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[4]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[4]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[4]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[4]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[4]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[5]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[5]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[5]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[5]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[5]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[5]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[6]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[6]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[6]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[6]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[6]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[6]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[7]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[7]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[7]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[7]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[7]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[7]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[8]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[8]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[8]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[8]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[8]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[8]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[9]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[9]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[9]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[9]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[9]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[9]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[10]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[10]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[10]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[10]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[10]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[10]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[11]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[11]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[11]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[11]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[11]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[11]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[12]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[12]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[12]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[12]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[12]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[12]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[13]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[13]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[13]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[13]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[13]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[13]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[14]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[14]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[14]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[14]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[14]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[14]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[15]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[15]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[15]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[15]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[15]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[15]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[16]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[16]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[16]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[16]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[16]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[16]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[17]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[17]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[17]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[17]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[17]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[17]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[18]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[18]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[18]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[18]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[18]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[18]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[19]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[19]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[19]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[19]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[19]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[19]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[20]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[20]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[20]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[20]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[20]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[20]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[21]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[21]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[21]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[21]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[21]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[21]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[22]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[22]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[22]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[22]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[22]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[22]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[23]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[23]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[23]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[23]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[23]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[23]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[24]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[24]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[24]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[24]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[24]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[24]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[25]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[25]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[25]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[25]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[25]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[25]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[26]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[26]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[26]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[26]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[26]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[26]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[27]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[27]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[27]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[27]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[27]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[27]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
story
⧉⌕$value App\Entities\Entity#157 (8)
Properties (8)
Available methods (18)
⧉protected attributes -> array (15)
storyId => string (3) "443"
languageId => string (1) "5"
categoryId => string (2) "27"
storyEnTitle => string (24) "Mr. Monkey and Crocodile"
⧉keywords => UTF-8 string (185) "Bodo story; Mr. Monkey and Crocodile; Bodo children story; Bodo children sto...
Bodo story; Mr. Monkey and Crocodile; Bodo children story; Bodo children stories; मोख्रा आरो गोलेर; cat;fable; monkey; crocodile; island; fruits; heart; wife
⧉keywords => UTF-8 string (185) "Bodo story; Mr. Monkey and Crocodile; Bodo children story; Bodo children sto...
Bodo story; Mr. Monkey and Crocodile; Bodo children story; Bodo children stories; मोख्रा आरो गोलेर; cat;fable; monkey; crocodile; island; fruits; heart; wife
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
⧉keywords => UTF-8 string (187) "Bodo story; Clever Deer; Bodo children story; Bodo children stories; सियान म...
Bodo story; Clever Deer; Bodo children story; Bodo children stories; सियान मै; Harini ; Deer; Crocodiles ; Queue; CAT: fable; act quickly and swiftly in an adverse situation
⧉keywords => UTF-8 string (187) "Bodo story; Clever Deer; Bodo children story; Bodo children stories; सियान म...
Bodo story; Clever Deer; Bodo children story; Bodo children stories; सियान मै; Harini ; Deer; Crocodiles ; Queue; CAT: fable; act quickly and swiftly in an adverse situation
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[0]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[0]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[0]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[0]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[0]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[0]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
⧉keywords => UTF-8 string (196) "Bodo story; The Saintly tiger!; Bodo children story; Bodo children stories; ...
Bodo story; The Saintly tiger!; Bodo children story; Bodo children stories; साधु मोसा; Saintly Tiger ; starvation; chant; pouncing ; Fox ; CAT: fable; Basic nature does not change.
⧉keywords => UTF-8 string (196) "Bodo story; The Saintly tiger!; Bodo children story; Bodo children stories; ...
Bodo story; The Saintly tiger!; Bodo children story; Bodo children stories; साधु मोसा; Saintly Tiger ; starvation; chant; pouncing ; Fox ; CAT: fable; Basic nature does not change.
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[1]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[1]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[1]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[1]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[1]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[1]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
⇄⧉2 => App\Entities\Entity#152 (8)
$value[2]
Properties (8)
Available methods (18)
⧉protected attributes -> array (15)
storyId => string (3) "550"
languageId => string (1) "5"
categoryId => string (2) "27"
storyEnTitle => string (23) "The Lion and the Hare 2"
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[2]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[2]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[2]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[2]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[2]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[2]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
⇄⧉3 => App\Entities\Entity#153 (8)
$value[3]
Properties (8)
Available methods (18)
⧉protected attributes -> array (15)
storyId => string (3) "502"
languageId => string (1) "5"
categoryId => string (2) "27"
storyEnTitle => string (21) "The Lion and the Hare"
⧉keywords => UTF-8 string (249) "Bodo story; The Lion and the Hare; Bodo children story; Bodo children storie...
Bodo story; The Lion and the Hare; Bodo children story; Bodo children stories; सिंह आरो सेसा; Lion - Bhaskara; destroy ; hare ; CAT: fable; anger does more harm than good; quick wit escapes from misfortune ; angry ; celebrated
⧉keywords => UTF-8 string (249) "Bodo story; The Lion and the Hare; Bodo children story; Bodo children storie...
Bodo story; The Lion and the Hare; Bodo children story; Bodo children stories; सिंह आरो सेसा; Lion - Bhaskara; destroy ; hare ; CAT: fable; anger does more harm than good; quick wit escapes from misfortune ; angry ; celebrated
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[3]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[3]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[3]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[3]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[3]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[3]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
⧉keywords => UTF-8 string (242) "Bodo story; Chameleon’s Greed; Bodo children story; Bodo children stories; थ...
Bodo story; Chameleon’s Greed; Bodo children story; Bodo children stories; थैसोबग्रानि गोनो गोथो; Chameleon ; Sage ; instantly ; Cat: fable; moral story; one should be happy with what they have; wished
⧉keywords => UTF-8 string (242) "Bodo story; Chameleon’s Greed; Bodo children story; Bodo children stories; थ...
Bodo story; Chameleon’s Greed; Bodo children story; Bodo children stories; थैसोबग्रानि गोनो गोथो; Chameleon ; Sage ; instantly ; Cat: fable; moral story; one should be happy with what they have; wished
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[4]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[4]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[4]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[4]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[4]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[4]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
⇄⧉5 => App\Entities\Entity#155 (8)
$value[5]
Properties (8)
Available methods (18)
⧉protected attributes -> array (15)
storyId => string (3) "492"
languageId => string (1) "5"
categoryId => string (2) "20"
storyEnTitle => string (23) "The Jackal and the Drum"
⧉keywords => UTF-8 string (190) "Bodo story; The Jackal and the Drum; Bodo children story; Bodo children stor...
Bodo story; The Jackal and the Drum; Bodo children story; Bodo children stories; सियाल आरो ड्राम; Drum; Jackal; prowl; CAT: fable; ; triumph over fear ; frightened
⧉keywords => UTF-8 string (190) "Bodo story; The Jackal and the Drum; Bodo children story; Bodo children stor...
Bodo story; The Jackal and the Drum; Bodo children story; Bodo children stories; सियाल आरो ड्राम; Drum; Jackal; prowl; CAT: fable; ; triumph over fear ; frightened
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[5]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[5]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[5]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[5]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[5]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[5]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[0]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[0]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[0]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[0]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[0]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[0]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[1]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[1]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[1]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[1]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[1]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[1]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[2]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[2]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[2]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[2]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[2]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[2]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[3]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[3]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[3]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[3]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[3]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[3]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[4]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[4]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[4]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[4]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[4]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[4]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[5]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[5]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[5]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[5]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[5]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[5]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[6]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[6]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[6]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[6]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[6]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[6]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[7]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[7]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[7]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[7]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[7]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[7]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[8]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[8]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[8]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[8]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[8]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[8]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[9]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[9]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[9]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[9]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[9]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[9]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[10]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[10]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[10]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[10]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[10]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[10]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[11]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[11]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[11]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[11]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[11]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[11]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565