ReflectionException: Property Scoutapm\Laravel\View\Engine\ScoutViewEngineDecorator::$lastCompiled does not exist
Something (not sure what, at present) is trying to reflect on the view engine (to access the protected property $lastCompiled), which we decorate with ScoutViewEngineDecorator; but since ScoutViewEngineDecorator does not have that property, it fails. In order to play nicely, this PR proposes adding a reference to the decorated property (if it exists, since properties are not part of interfaces!).
Something (not sure what, at present) is trying to reflect on the view engine (to access the
protected
property$lastCompiled
), which we decorate withScoutViewEngineDecorator
; but sinceScoutViewEngineDecorator
does not have that property, it fails. In order to play nicely, this PR proposes adding a reference to the decorated property (if it exists, since properties are not part of interfaces!).