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
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
⧉storyShortDescription => UTF-8 string (410) "এটা বৃশ্চিক আৰু এটা কাছ বন্ধু হৈ পৰিছিল, কিন্তু বৃশ্চিকটোৱে কাছটোক পানীত দংশ...
এটা বৃশ্চিক আৰু এটা কাছ বন্ধু হৈ পৰিছিল, কিন্তু বৃশ্চিকটোৱে কাছটোক পানীত দংশন কৰি বিশ্বাসঘাতকতা কৰিছিল। পৰৱৰ্তী সময়ত কি হ'ব জানিবলৈ কাহিনীটোত যোগদান কৰক!
⧉keywords => UTF-8 string (234) "Assamese story; Bad Friendship; Assamese children story; Assamese children s...
Assamese story; Bad Friendship; Assamese children story; Assamese children stories; বেয়া বন্ধুত্ব; Scorpion ; Tortoise ; CAT: fable; moral story; vicious people cannot resist hurting others; drowning ; stinging
⧉storyShortDescription => UTF-8 string (410) "এটা বৃশ্চিক আৰু এটা কাছ বন্ধু হৈ পৰিছিল, কিন্তু বৃশ্চিকটোৱে কাছটোক পানীত দংশ...
এটা বৃশ্চিক আৰু এটা কাছ বন্ধু হৈ পৰিছিল, কিন্তু বৃশ্চিকটোৱে কাছটোক পানীত দংশন কৰি বিশ্বাসঘাতকতা কৰিছিল। পৰৱৰ্তী সময়ত কি হ'ব জানিবলৈ কাহিনীটোত যোগদান কৰক!
⧉keywords => UTF-8 string (234) "Assamese story; Bad Friendship; Assamese children story; Assamese children s...
Assamese story; Bad Friendship; Assamese children story; Assamese children stories; বেয়া বন্ধুত্ব; Scorpion ; Tortoise ; CAT: fable; moral story; vicious people cannot resist hurting others; drowning ; stinging
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 (213) "Assamese story; Lion and little Fox; Assamese children story; Assamese child...
Assamese story; Lion and little Fox; Assamese children story; Assamese children stories; সিংহ আৰু শিয়াল; Lioness; cubs; nature ; advised ; Fox ; CAT: Fable; Basic nature does not change.
এজনী মাইকী সিংহ আৰু তাইৰ পোৱালীক লগ পাওঁ আহক যিয়ে এটা সৰু শিয়ালৰ সৈতে বন্ধুত্ব কৰে। সিহঁতে একেলগে খেলে আৰু আনন্দ কৰে। কিন্তু এদিন, যেতিয়া হাতী এটা আহে, সিংহৰ পোৱালীবোৰ সাহসী হয়, আৰু কণমানি শিয়ালটোৱে ভয় খায়। মাইকী সিংহয়ে বুজি পায়, আৰু শিয়ালটো ইয়াৰ শিয়াল বন্ধুসকলৰ ওচৰলৈ ঘূৰি যায়।
⧉keywords => UTF-8 string (213) "Assamese story; Lion and little Fox; Assamese children story; Assamese child...
Assamese story; Lion and little Fox; Assamese children story; Assamese children stories; সিংহ আৰু শিয়াল; Lioness; cubs; nature ; advised ; 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
মেকুৰীৰ সহায় বিচৰা দুষ্ট নিগনিয়ে অশান্তি দিয়া সিংহৰ কাহিনী অন্বেষণ কৰক। কিন্তু এই আকৰ্ষণীয় কাহিনীটোত এটা অপ্ৰত্যাশিত পাকৰ সৃষ্টি হয় যেতিয়া এটা ধূৰ্ত শিয়ালে মেকুৰীটোৰ আনুগত্যক লৈ প্ৰশ্ন উত্থাপন কৰে।
⧉keywords => UTF-8 string (211) "Assamese story; The Selfish Lion; Assamese children story; Assamese children...
Assamese story; The Selfish Lion; Assamese children story; Assamese children stories; স্বার্থপৰ সিংহ; lion ; cave; mouse; mane; menace ; CAT:Fable; moral values; fox; jealous; royally
মেকুৰীৰ সহায় বিচৰা দুষ্ট নিগনিয়ে অশান্তি দিয়া সিংহৰ কাহিনী অন্বেষণ কৰক। কিন্তু এই আকৰ্ষণীয় কাহিনীটোত এটা অপ্ৰত্যাশিত পাকৰ সৃষ্টি হয় যেতিয়া এটা ধূৰ্ত শিয়ালে মেকুৰীটোৰ আনুগত্যক লৈ প্ৰশ্ন উত্থাপন কৰে।
⧉keywords => UTF-8 string (211) "Assamese story; The Selfish Lion; Assamese children story; Assamese children...
Assamese story; The Selfish Lion; Assamese children story; Assamese children stories; স্বার্থপৰ সিংহ; lion ; cave; mouse; mane; menace ; CAT:Fable; moral values; fox; jealous; royally
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
⇄⧉4 => App\Entities\Entity#154 (8)
$value[4]
Properties (8)
Available methods (18)
⧉protected attributes -> array (15)
storyId => string (3) "103"
languageId => string (1) "2"
categoryId => string (2) "17"
storyEnTitle => string (26) "The Crocodile and the Crab"
⧉storyShortDescription => UTF-8 string (886) "কুটিল ঘৰিয়াল আৰু কেঁকোৰাক কাহিনী শুনক, যিসকল ভাল বন্ধু আছিল। তেওঁলোকে এটা পু...
কুটিল ঘৰিয়াল আৰু কেঁকোৰাক কাহিনী শুনক, যিসকল ভাল বন্ধু আছিল। তেওঁলোকে এটা পুখুৰীত বাস কৰিছিল আৰু পুখুৰীত মাছ খাইছিল। অতি সোনকালেই মাছৰ সংখ্যা হ্ৰাস হ'বলৈ ধৰিলে আৰু কিছুমানক পুখুৰীত এৰি দিয়া হ'ল। সেয়েহে, কুটিল ঘৰিয়ালে হাবিত আন জন্তু খোৱাৰ পৰিকল্পনা কৰিছিল। কাহিনীটোত কি ঘটিছে আৱিষ্কাৰ কৰিবলৈ ঘৰিয়াল আৰু কেঁকোৰাৰ কাহিনীত যোগদান কৰক।
⧉keywords => UTF-8 string (195) "Assamese story; The Crocodile and the Crab; Assamese children story; Assames...
Assamese story; The Crocodile and the Crab; Assamese children story; Assamese children stories; ঘঁৰিয়াল আৰু কেঁকোৰা; crocodile; crab; wisely; ashamed; CAT: fable
⧉storyShortDescription => UTF-8 string (886) "কুটিল ঘৰিয়াল আৰু কেঁকোৰাক কাহিনী শুনক, যিসকল ভাল বন্ধু আছিল। তেওঁলোকে এটা পু...
কুটিল ঘৰিয়াল আৰু কেঁকোৰাক কাহিনী শুনক, যিসকল ভাল বন্ধু আছিল। তেওঁলোকে এটা পুখুৰীত বাস কৰিছিল আৰু পুখুৰীত মাছ খাইছিল। অতি সোনকালেই মাছৰ সংখ্যা হ্ৰাস হ'বলৈ ধৰিলে আৰু কিছুমানক পুখুৰীত এৰি দিয়া হ'ল। সেয়েহে, কুটিল ঘৰিয়ালে হাবিত আন জন্তু খোৱাৰ পৰিকল্পনা কৰিছিল। কাহিনীটোত কি ঘটিছে আৱিষ্কাৰ কৰিবলৈ ঘৰিয়াল আৰু কেঁকোৰাৰ কাহিনীত যোগদান কৰক।
⧉keywords => UTF-8 string (195) "Assamese story; The Crocodile and the Crab; Assamese children story; Assames...
Assamese story; The Crocodile and the Crab; Assamese children story; Assamese children stories; ঘঁৰিয়াল আৰু কেঁকোৰা; crocodile; crab; wisely; ashamed; CAT: fable
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) "139"
languageId => string (1) "2"
categoryId => string (2) "27"
storyEnTitle => string (22) "Common Sense is better"
storyTitle => UTF-8 string (57) "সাধাৰন জ্ঞান বেছি ভাল"
⧉storyShortDescription => UTF-8 string (1313) "এসময়ত, চাৰিজন বন্ধু এখন চহৰত বাস কৰিছিল। তেওঁলোকৰ তিনিজনে শিকিছিল, আনহাতে চত...
এসময়ত, চাৰিজন বন্ধু এখন চহৰত বাস কৰিছিল। তেওঁলোকৰ তিনিজনে শিকিছিল, আনহাতে চতুৰ্থ বন্ধুজনে তেওঁলোকৰ দৰে শিকা নাছিল। এদিন অৰণ্যত তেওঁলোকে হাড় বিচাৰি পাইছিল আৰু তেওঁলোকৰ দক্ষতা প্ৰদৰ্শন কৰিবলৈ চেষ্টা কৰিছিল। প্ৰথম দুজনে কংকাল, মাংস আৰু ছাল গঠন কৰাত সফল হয়, কিন্তু তৃতীয়জনে ইয়াক জীৱন্ত কৰিবলৈ জোৰ দিয়ে। চতুৰ্থ বন্ধুজনে তেওঁলোকক সতৰ্ক কৰি দিয়ে যে ই সিংহৰ দৰে দেখা যায়, কিন্তু তেওঁলোক আগবাঢ়ি যায়। ঘটনাৰ অপ্ৰত্যাশিত পৰিৱৰ্তনে সকলো বন্ধুৰ জীৱন কেনেদৰে সলনি কৰে জানিবলৈ কাহিনীটোত যোগদান কৰক।
⧉keywords => UTF-8 string (263) "Assamese story; Common Sense is better; Assamese children story; Assamese ch...
Assamese story; Common Sense is better; Assamese children story; Assamese children stories; সাধাৰন জ্ঞান বেছি ভাল; common sense; Subuddhi; skills; CAT: life skills; cleverness escapes from misfortune ; wisdom ; vast knowledge
⧉storyShortDescription => UTF-8 string (1313) "এসময়ত, চাৰিজন বন্ধু এখন চহৰত বাস কৰিছিল। তেওঁলোকৰ তিনিজনে শিকিছিল, আনহাতে চত...
এসময়ত, চাৰিজন বন্ধু এখন চহৰত বাস কৰিছিল। তেওঁলোকৰ তিনিজনে শিকিছিল, আনহাতে চতুৰ্থ বন্ধুজনে তেওঁলোকৰ দৰে শিকা নাছিল। এদিন অৰণ্যত তেওঁলোকে হাড় বিচাৰি পাইছিল আৰু তেওঁলোকৰ দক্ষতা প্ৰদৰ্শন কৰিবলৈ চেষ্টা কৰিছিল। প্ৰথম দুজনে কংকাল, মাংস আৰু ছাল গঠন কৰাত সফল হয়, কিন্তু তৃতীয়জনে ইয়াক জীৱন্ত কৰিবলৈ জোৰ দিয়ে। চতুৰ্থ বন্ধুজনে তেওঁলোকক সতৰ্ক কৰি দিয়ে যে ই সিংহৰ দৰে দেখা যায়, কিন্তু তেওঁলোক আগবাঢ়ি যায়। ঘটনাৰ অপ্ৰত্যাশিত পৰিৱৰ্তনে সকলো বন্ধুৰ জীৱন কেনেদৰে সলনি কৰে জানিবলৈ কাহিনীটোত যোগদান কৰক।
⧉keywords => UTF-8 string (263) "Assamese story; Common Sense is better; Assamese children story; Assamese ch...
Assamese story; Common Sense is better; Assamese children story; Assamese children stories; সাধাৰন জ্ঞান বেছি ভাল; common sense; Subuddhi; skills; CAT: life skills; cleverness escapes from misfortune ; wisdom ; vast knowledge
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