Entity.php
system/Entity/Entity.php
1 class
20 methods
class Entity
Entity encapsulation, for use with CodeIgniter\Model
__construct
(?array $data = null)
fill
(?array $data = null)
toArray
(bool $onlyChanged = false, bool $cast = true, bool $recursive = false)
toRawArray
(bool $onlyChanged = false, bool $recursive = false)
self
($value)
syncOriginal
()
hasChanged
(?string $key = null)
injectRawData
(array $data)
setAttributes
(array $data)
mapProperty
(string $key)
mutateDate
($value)
castAs
($value, string $attribute, string $method = 'get')
jsonSerialize
()
cast
(?bool $cast = null)
__set
(string $key, $value = null)
__get
(string $key)
__isset
(string $key)
__unset
(string $key)
isMappedDbColumn
(string $key)
hasMappedProperty
(string $key)