model.getAttribute

Triggered in October\Rain\Database\Concerns\HasAttributes.

Called after the model attribute is retrieved

Example usage:

$model->bindEvent('model.getAttribute', function ((string) $key, $value) use (\October\Rain\Database\Model $model) {
    if ($key === 'not-for-you-to-look-at') {
        return "Totally not $value";
    }
});