Closed bytestream closed 3 years ago
Ran into exactly this just now. The Eloquent Model it an instance of ArrayAccess, but isn't able to return the exists
parameter etc. via that way.
Can this be merged in and a release be created?
Created a PR with a failing test to catch this in the future: https://github.com/rcrowe/TwigBridge/pull/406
@barryvdh could you perhaps take a look at this and tag a new release?
This reverts commit 35559329
Doesn't work properties on an object e.g.
$model->exists
It's too fiddly and lack of tests. Not changing it again. Suggest to go the way of https://github.com/rcrowe/TwigBridge/pull/403 instead