শীতকালে তার বাচ্চাদেরকে গরম রাখার জন্য, একটি মা পায়রা গ্রামবাসীদের কাছ থেকে একটি আগুনের লাঠি ধার করে নিয়ে আসে এবং শুকনো ডাল ব্যবহার করে বাসার কাছে ছোট করে আগুন জ্বালায়। বাচ্চারা গরমে আরাম পায় এবং তারা সবাই শান্তিপূর্ণ ঘুম উপভোগ করায় মা পায়রাটি খুশি হল।
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
⧉storyShortDescription => UTF-8 string (672) "শীতকালে তার বাচ্চাদেরকে গরম রাখার জন্য, একটি মা পায়রা গ্রামবাসীদের কাছ থেকে...
শীতকালে তার বাচ্চাদেরকে গরম রাখার জন্য, একটি মা পায়রা গ্রামবাসীদের কাছ থেকে একটি আগুনের লাঠি ধার করে নিয়ে আসে এবং শুকনো ডাল ব্যবহার করে বাসার কাছে ছোট করে আগুন জ্বালায়। বাচ্চারা গরমে আরাম পায় এবং তারা সবাই শান্তিপূর্ণ ঘুম উপভোগ করায় মা পায়রাটি খুশি হল।
⧉keywords => UTF-8 string (188) "Bengali story; Clever Pigeon; Bengali children story; Bengali children stori...
⧉storyShortDescription => UTF-8 string (672) "শীতকালে তার বাচ্চাদেরকে গরম রাখার জন্য, একটি মা পায়রা গ্রামবাসীদের কাছ থেকে...
শীতকালে তার বাচ্চাদেরকে গরম রাখার জন্য, একটি মা পায়রা গ্রামবাসীদের কাছ থেকে একটি আগুনের লাঠি ধার করে নিয়ে আসে এবং শুকনো ডাল ব্যবহার করে বাসার কাছে ছোট করে আগুন জ্বালায়। বাচ্চারা গরমে আরাম পায় এবং তারা সবাই শান্তিপূর্ণ ঘুম উপভোগ করায় মা পায়রাটি খুশি হল।
⧉keywords => UTF-8 string (188) "Bengali story; Clever Pigeon; Bengali children story; Bengali children stori...
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
topRead
⧉⌕$value array (6)
⇄⧉0 => App\Entities\Entity#150 (8)
$value[0]
Properties (8)
Available methods (18)
⧉protected attributes -> array (15)
storyId => string (3) "284"
languageId => string (1) "3"
categoryId => string (2) "17"
storyEnTitle => string (28) "The Porcupine and the Snakes"
⧉storyShortDescription => UTF-8 string (816) "'শজারু ও সাপেরা' গল্পটি হল কারুর উদারতার সুযোগ নেওয়ার পরিণতি সম্পর্কে একটি ...
'শজারু ও সাপেরা' গল্পটি হল কারুর উদারতার সুযোগ নেওয়ার পরিণতি সম্পর্কে একটি সতর্কতামূলক গল্প। এই গল্পে, সাপগুলি শজারুকে আশ্রয় দেয়, কিন্তু শজারুর স্বার্থপর আচরণ সাপগুলিকে তাদের নিজেদের জায়গা ছেড়ে চলে যেতে বাধ্য করে। এই গল্পটি অন্যের উদারতাকে মূল্য দেওয়ার এবং তাদের দয়ার সুযোগ না নেওয়ার পাঠকে তুলে ধরে।
⧉keywords => UTF-8 string (221) "Bengali story; The Porcupine and the Snakes; Bengali children story; Bengali...
Bengali story; The Porcupine and the Snakes; Bengali children story; Bengali children stories; শজারু ও সাপেরা; snake; procupine; annoyed; hesitatingly; quills; CAT: fable; Never believe the cunning
⧉storyShortDescription => UTF-8 string (816) "'শজারু ও সাপেরা' গল্পটি হল কারুর উদারতার সুযোগ নেওয়ার পরিণতি সম্পর্কে একটি ...
'শজারু ও সাপেরা' গল্পটি হল কারুর উদারতার সুযোগ নেওয়ার পরিণতি সম্পর্কে একটি সতর্কতামূলক গল্প। এই গল্পে, সাপগুলি শজারুকে আশ্রয় দেয়, কিন্তু শজারুর স্বার্থপর আচরণ সাপগুলিকে তাদের নিজেদের জায়গা ছেড়ে চলে যেতে বাধ্য করে। এই গল্পটি অন্যের উদারতাকে মূল্য দেওয়ার এবং তাদের দয়ার সুযোগ না নেওয়ার পাঠকে তুলে ধরে।
⧉keywords => UTF-8 string (221) "Bengali story; The Porcupine and the Snakes; Bengali children story; Bengali...
Bengali story; The Porcupine and the Snakes; Bengali children story; Bengali children stories; শজারু ও সাপেরা; snake; procupine; annoyed; hesitatingly; quills; CAT: fable; Never believe the cunning
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
⧉storyShortDescription => UTF-8 string (831) "এক রঙিন এবং সুদর্শন মোরগের গল্পটি পড়ো যে গাছের গর্তে বাস করত। একদিন, একটি ঈগ...
এক রঙিন এবং সুদর্শন মোরগের গল্পটি পড়ো যে গাছের গর্তে বাস করত। একদিন, একটি ঈগল তাকে ধরতে চায়, কিন্তু চালাক মোরগ তার গর্তে লুকিয়ে পড়ো। ঈগল একটি অসাধারণ কৌশল প্রয়োগ করে। সে মোরগটির প্রশংসা শুরু করে বলে যে সে সবচেয়ে সুন্দর পাখি। প্রশংসায় খুশি এবং গর্বিত হয়ে মোরগটি ঈগলের ফাঁদে পড়ে যায়। এরপর কী হবে? জানতে গল্পটি পড়ো।
⧉keywords => UTF-8 string (240) "Bengali story; Perils of flattery; Bengali children story; Bengali children ...
Bengali story; Perils of flattery; Bengali children story; Bengali children stories; মিথ্যে প্রশংসার বিপদ; Handsome cock ; flattering ; Eagle ; felicitation ; pride ; CAT: fable; Never believe the cunning
⧉storyShortDescription => UTF-8 string (831) "এক রঙিন এবং সুদর্শন মোরগের গল্পটি পড়ো যে গাছের গর্তে বাস করত। একদিন, একটি ঈগ...
এক রঙিন এবং সুদর্শন মোরগের গল্পটি পড়ো যে গাছের গর্তে বাস করত। একদিন, একটি ঈগল তাকে ধরতে চায়, কিন্তু চালাক মোরগ তার গর্তে লুকিয়ে পড়ো। ঈগল একটি অসাধারণ কৌশল প্রয়োগ করে। সে মোরগটির প্রশংসা শুরু করে বলে যে সে সবচেয়ে সুন্দর পাখি। প্রশংসায় খুশি এবং গর্বিত হয়ে মোরগটি ঈগলের ফাঁদে পড়ে যায়। এরপর কী হবে? জানতে গল্পটি পড়ো।
⧉keywords => UTF-8 string (240) "Bengali story; Perils of flattery; Bengali children story; Bengali children ...
Bengali story; Perils of flattery; Bengali children story; Bengali children stories; মিথ্যে প্রশংসার বিপদ; Handsome cock ; flattering ; Eagle ; felicitation ; pride ; CAT: fable; Never believe the cunning
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
⧉storyShortDescription => UTF-8 string (766) "একটি বুদ্ধিমান বক এবং একটি দুষ্টু শিয়ালের গল্পটা পড়ো। শিয়ালটি বককে বিরক্ত ...
একটি বুদ্ধিমান বক এবং একটি দুষ্টু শিয়ালের গল্পটা পড়ো। শিয়ালটি বককে বিরক্ত করে এবং যার ফলে বকটি তার প্রতিশোধ নেয়। গল্পটি অন্যদের সাথে সদয় আচরণের বিষয়ে একটি মূল্যবান শিক্ষা দেয়। এই মজার গল্পটি পড়ো যেখানে কথার চেয়ে করে দেখানোয় বেশি কাজ হয় এবং এর পরিণতি মজাদার এবং শিক্ষামূলক উভয়ই হয়।
⧉keywords => UTF-8 string (227) "Bengali story; Tit for Tat!; Bengali children story; Bengali children storie...
Bengali story; Tit for Tat!; Bengali children story; Bengali children stories; যেমন কুকুর তেমনি মুগুর; crane; fox; cunning; CAT: fable; Don't make fun of other's limitations; revenge; aroma
⧉storyShortDescription => UTF-8 string (766) "একটি বুদ্ধিমান বক এবং একটি দুষ্টু শিয়ালের গল্পটা পড়ো। শিয়ালটি বককে বিরক্ত ...
একটি বুদ্ধিমান বক এবং একটি দুষ্টু শিয়ালের গল্পটা পড়ো। শিয়ালটি বককে বিরক্ত করে এবং যার ফলে বকটি তার প্রতিশোধ নেয়। গল্পটি অন্যদের সাথে সদয় আচরণের বিষয়ে একটি মূল্যবান শিক্ষা দেয়। এই মজার গল্পটি পড়ো যেখানে কথার চেয়ে করে দেখানোয় বেশি কাজ হয় এবং এর পরিণতি মজাদার এবং শিক্ষামূলক উভয়ই হয়।
⧉keywords => UTF-8 string (227) "Bengali story; Tit for Tat!; Bengali children story; Bengali children storie...
Bengali story; Tit for Tat!; Bengali children story; Bengali children stories; যেমন কুকুর তেমনি মুগুর; crane; fox; cunning; CAT: fable; Don't make fun of other's limitations; revenge; aroma
uri => string (31) "CodeIgniter\Entity\Cast\URICast"
private _cast -> boolean true
⇄⧉public __construct(?array $data = null) Allows filling in Entity parameters during construction.
new \App\Entities\Entity(?array $data = null)
/**
* Allows filling in Entity parameters during construction.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:117
⇄⧉public fill(?array $data = null): $this Takes an array of key/value pairs and sets them as class properties, using an...
$value[2]->fill(?array $data = null)
/**
* Takes an array of key/value pairs and sets them as class
* properties, using any `setCamelCasedProperty()` methods
* that may or may not exist.
*
* @param array $data
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:133
⇄⧉public toArray(bool $onlyChanged = false, bool $cast = true, bool $recursive = false): array General method that will return all public and protected values of this entit...
/**
* General method that will return all public and protected values
* of this entity as an array. All values are accessed through the
* __get() magic method so will have any casts, etc applied to them.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $cast If true, properties will be cast.
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:155
⇄⧉public toRawArray(bool $onlyChanged = false, bool $recursive = false): array Returns the raw values of the current attributes.
/**
* Returns the raw values of the current attributes.
*
* @param bool $onlyChanged If true, only return values that have changed since object creation
* @param bool $recursive If true, inner entities will be cast as array as well.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:197
⇄⧉public syncOriginal(): $this Ensures our "original" values match the current values.
$value[2]->syncOriginal()
/**
* Ensures our "original" values match the current values.
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:241
⇄⧉public hasChanged(?string $key = null): bool Checks a property to see if it has changed since the entity was created. Or, ...
$value[2]->hasChanged(?string $key = null)
/**
* Checks a property to see if it has changed since the entity
* was created. Or, without a parameter, checks if any
* properties have changed.
*
* @param string|null $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:255
⇄⧉public setAttributes(array $data): $this Set raw data array without any mutations
$value[2]->setAttributes(array $data)
/**
* Set raw data array without any mutations
*
* @return $this
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:282
⇄⧉public jsonSerialize(): array Support for json_encode()
$value[2]->jsonSerialize()
/**
* Support for json_encode()
*
* @return array
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:400
⇄⧉public cast(?bool $cast = null): bool|Entity Change the value of the private $_cast property
$value[2]->cast(?bool $cast = null)
/**
* Change the value of the private $_cast property
*
* @return bool|Entity
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:410
⧉public __set(string $key, $value = null): void Magic method to all protected/private class properties to be easily set, eith...
/**
* Magic method to all protected/private class properties to be
* easily set, either through a direct access or a
* `setCamelCasedProperty()` method.
*
* Examples:
* $this->my_property = $p;
* $this->setMyProperty() = $p;
*
* @param array|bool|float|int|object|string|null $value
*
* @return void
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:436
⧉public __get(string $key): array|bool|float|int|object|string|null Magic method to allow retrieval of protected and private class properties eit...
/**
* Magic method to allow retrieval of protected and private class properties
* either by their name, or through a `getCamelCasedProperty()` method.
*
* Examples:
* $p = $this->my_property
* $p = $this->getMyProperty()
*
* @return array|bool|float|int|object|string|null
*
* @throws Exception
*
* @params string $key class property
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:479
⧉public __isset(string $key): bool Returns true if a property exists names $key, or a getter method exists named...
/**
* Returns true if a property exists names $key, or a getter method
* exists named like for __get().
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:516
⧉public __unset(string $key): void Unsets an attribute property.
/**
* Unsets an attribute property.
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:536
⧉protected mapProperty(string $key): string db column name Checks the datamap to see if this property name is being mapped, and returns ...
/**
* Checks the datamap to see if this property name is being mapped,
* and returns the db column name, if any, or the original property name.
*
* @return string db column name
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:297
⧉protected mutateDate($value): Time Converts the given string|timestamp|DateTime|Time instance into the "CodeIgni...
/**
* Converts the given string|timestamp|DateTime|Time instance
* into the "CodeIgniter\I18n\Time" object.
*
* @param DateTime|float|int|string|Time $value
*
* @return Time
*
* @throws Exception
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:320
⧉protected castAs($value, string $attribute, string $method = 'get'): array|bool|float|int|object|string|null Provides the ability to cast an item as a specific data type. Add ? at the be...
/**
* Provides the ability to cast an item as a specific data type.
* Add ? at the beginning of $type (i.e. ?string) to get NULL
* instead of casting $value if $value === null
*
* @param bool|float|int|string|null $value Attribute value
* @param string $attribute Attribute name
* @param string $method Allowed to "get" and "set"
*
* @return array|bool|float|int|object|string|null
*
* @throws CastException
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:338
⧉protected isMappedDbColumn(string $key): bool Whether this key is mapped db column name?
/**
* Whether this key is mapped db column name?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:550
⧉protected hasMappedProperty(string $key): bool Whether this key has mapped property?
/**
* Whether this key has mapped property?
*/
Inherited from CodeIgniter\Entity\Entity
Defined in <ROOT>/heartbeat/vendor/codeigniter4/framework/system/Entity/Entity.php:565
⇄⧉3 => App\Entities\Entity#153 (8)
$value[3]
Properties (8)
Available methods (18)
⧉protected attributes -> array (15)
storyId => string (3) "253"
languageId => string (1) "3"
categoryId => string (2) "16"
storyEnTitle => string (29) "The Capseller and the Monkeys"
storyTitle => UTF-8 string (101) "গল্প - ১৩ একজন টুপি বিক্রেতা ও বাঁদরেরা"
⧉storyShortDescription => UTF-8 string (1018) "'টুপি বিক্রেতা ও বাঁদর' শীর্ষক আকর্ষণীয় গল্পটি সম্পর্কে জানা যাক । এই কালজয়...
'টুপি বিক্রেতা ও বাঁদর' শীর্ষক আকর্ষণীয় গল্পটি সম্পর্কে জানা যাক । এই কালজয়ী গল্পটির চতুর কৌতুকবোধ এবং দুষ্টু বাঁদরদের কাণ্ডকারখানা ছোটো ছোটো পাঠকদের মুগ্ধ করবে। টুপি বিক্রেতার দুষ্ট বাদঁরদের বোকা বানানোর এই গল্পের মাধ্য়মে বুদ্ধি, মজা এবং মূল্য়বান শিক্ষার যাত্রায় আমাদের সঙ্গে যোগ দাও । এটি সব বয়সের শিশুদের জন্য উপযুক্ত একটি সমস্যা-সমাধানমূলক এবং বিস্ময়ে ভরা আনন্দদায়ক গল্প।
⧉keywords => UTF-8 string (302) "Bengali story; The Capseller and the Monkeys; Bengali children story; Bengal...
Bengali story; The Capseller and the Monkeys; Bengali children story; Bengali children stories; গল্প - ১৩ একজন টুপি বিক্রেতা ও বাঁদরেরা; cat;fable;problem-solving;resourcefulness; market; cap seller; monkey; banyan; imitation; parents; idea
⧉storyShortDescription => UTF-8 string (1018) "'টুপি বিক্রেতা ও বাঁদর' শীর্ষক আকর্ষণীয় গল্পটি সম্পর্কে জানা যাক । এই কালজয়...
'টুপি বিক্রেতা ও বাঁদর' শীর্ষক আকর্ষণীয় গল্পটি সম্পর্কে জানা যাক । এই কালজয়ী গল্পটির চতুর কৌতুকবোধ এবং দুষ্টু বাঁদরদের কাণ্ডকারখানা ছোটো ছোটো পাঠকদের মুগ্ধ করবে। টুপি বিক্রেতার দুষ্ট বাদঁরদের বোকা বানানোর এই গল্পের মাধ্য়মে বুদ্ধি, মজা এবং মূল্য়বান শিক্ষার যাত্রায় আমাদের সঙ্গে যোগ দাও । এটি সব বয়সের শিশুদের জন্য উপযুক্ত একটি সমস্যা-সমাধানমূলক এবং বিস্ময়ে ভরা আনন্দদায়ক গল্প।
⧉keywords => UTF-8 string (302) "Bengali story; The Capseller and the Monkeys; Bengali children story; Bengal...
Bengali story; The Capseller and the Monkeys; Bengali children story; Bengali children stories; গল্প - ১৩ একজন টুপি বিক্রেতা ও বাঁদরেরা; cat;fable;problem-solving;resourcefulness; market; cap seller; monkey; banyan; imitation; parents; idea
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) "225"
languageId => string (1) "3"
categoryId => string (2) "16"
storyEnTitle => string (28) "The Fox the Hen and the Drum"
storyTitle => UTF-8 string (62) "শিয়াল, মুরগি আর একটা ঢাক"
⧉storyShortDescription => UTF-8 string (917) "একটি ক্ষুধার্ত শিয়াল খাবারের সন্ধানে যায় এবং অনেক চেষ্টার পরে একটি মুরগি দে...
একটি ক্ষুধার্ত শিয়াল খাবারের সন্ধানে যায় এবং অনেক চেষ্টার পরে একটি মুরগি দেখতে পায়। সে মুরগিটিকে ধরার চেষ্টা করে কিন্তু তখনই গাছ থেকে একটি জোরে শব্দ শুনতে পায় এবং ভাবে যে সেখানে হয়তো অন্য একটি পাখি আছে। উত্তেজিত হয়ে, সে গাছে চড়ে এবং আবিষ্কার করে যে শব্দটি গাছের ডালে আটকে থাকা একটি বাদ্য়যন্ত্র থেকে আসছে। গল্পটি লোভ সম্পর্কে একটি শিক্ষা দেয়।
⧉keywords => UTF-8 string (252) "Bengali story; The Fox the Hen and the Drum; Bengali children story; Bengali...
Bengali story; The Fox the Hen and the Drum; Bengali children story; Bengali children stories; শিয়াল, মুরগি আর একটা ঢাক; Fox ; Fowl ; Hen ; CAT: fable; moral story; greediness leads to misery ; hungry ; dejectedly
⧉storyShortDescription => UTF-8 string (917) "একটি ক্ষুধার্ত শিয়াল খাবারের সন্ধানে যায় এবং অনেক চেষ্টার পরে একটি মুরগি দে...
একটি ক্ষুধার্ত শিয়াল খাবারের সন্ধানে যায় এবং অনেক চেষ্টার পরে একটি মুরগি দেখতে পায়। সে মুরগিটিকে ধরার চেষ্টা করে কিন্তু তখনই গাছ থেকে একটি জোরে শব্দ শুনতে পায় এবং ভাবে যে সেখানে হয়তো অন্য একটি পাখি আছে। উত্তেজিত হয়ে, সে গাছে চড়ে এবং আবিষ্কার করে যে শব্দটি গাছের ডালে আটকে থাকা একটি বাদ্য়যন্ত্র থেকে আসছে। গল্পটি লোভ সম্পর্কে একটি শিক্ষা দেয়।
⧉keywords => UTF-8 string (252) "Bengali story; The Fox the Hen and the Drum; Bengali children story; Bengali...
Bengali story; The Fox the Hen and the Drum; Bengali children story; Bengali children stories; শিয়াল, মুরগি আর একটা ঢাক; Fox ; Fowl ; Hen ; CAT: fable; moral story; greediness leads to misery ; hungry ; dejectedly
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) "377"
languageId => string (1) "3"
categoryId => string (2) "17"
storyEnTitle => string (15) "Fox - Wild Boar"
storyTitle => UTF-8 string (54) "শিয়াল এবং বুনো শূকর"
⧉storyShortDescription => UTF-8 string (370) "অলস শিয়াল একটা কঠিন শিক্ষা পেয়েছিল। শিয়াল এবং বন্য শুয়োরের এই গল্পে এরপর ...
অলস শিয়াল একটা কঠিন শিক্ষা পেয়েছিল। শিয়াল এবং বন্য শুয়োরের এই গল্পে এরপর কী ঘটবে? গল্পটি কীভাবে বাঁক নেয় আবিষ্কার করতে গল্পটি অনুসরণ করো!
⧉keywords => UTF-8 string (220) "Bengali story; Fox - Wild Boar; Bengali children story; Bengali children sto...
Bengali story; Fox - Wild Boar; Bengali children story; Bengali children stories; শিয়াল এবং বুনো শূকর; CAT: fable; work hard today to get ready for tomorrow; Boar; Fox; Hunter ; Sharpen
⧉storyShortDescription => UTF-8 string (370) "অলস শিয়াল একটা কঠিন শিক্ষা পেয়েছিল। শিয়াল এবং বন্য শুয়োরের এই গল্পে এরপর ...
অলস শিয়াল একটা কঠিন শিক্ষা পেয়েছিল। শিয়াল এবং বন্য শুয়োরের এই গল্পে এরপর কী ঘটবে? গল্পটি কীভাবে বাঁক নেয় আবিষ্কার করতে গল্পটি অনুসরণ করো!
⧉keywords => UTF-8 string (220) "Bengali story; Fox - Wild Boar; Bengali children story; Bengali children sto...
Bengali story; Fox - Wild Boar; Bengali children story; Bengali children stories; শিয়াল এবং বুনো শূকর; CAT: fable; work hard today to get ready for tomorrow; Boar; Fox; Hunter ; Sharpen
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