6.5.0
Allow to define custom methods to Row
and RowCollection
dinamically. For example:
$db->users->setRowMethod('getFullName', function () {
return $this->firstName.' '.$this->lastName;
});
$user = $db->users[1];
echo $user->getFullName();