convert Entity to an array in Model's method.
specify insert method.
convert entity to array after filtering the entity.
extract only the values that are changed from originalValue.
check for modification made except for created_at and updated_at column.
modify property method to get property of column.
"restrict" $data to update/insert to database to the properties defined in the model.
use property's restrict function.
add phpdocs comment.
restrict necessary only for arrays.
for Entities, $data array is created with only the existing properties.
removed unnecessary definition of $model, which is already defined in FilterAbstract.
rename column_type, which is really a type of columns to update.
add comment on what each filter does.
converts all DateTime objects to strings.
throw RuntimeException if model not found from entity.
check by the first letter bing \ to add namespace or not.
short entity name may contain \, but never start with \… hopefully, this will be the rule.
add getRole to return role without registering entity.
less use of variables; no effects on performance…
use _add directly add entity without checking existence in get (where entities are always unique).
some code optimization in get…
Rule to apply onQuery. also accept $query as argument (not from model).
apply filters when resetQuery is true (to apply filter only once).
load model (i.e. keep the model in container).