Skip to content

6.5.0

Compare
Choose a tag to compare
@oscarotero oscarotero released this 31 Aug 16:07
· 171 commits to master since this release

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();