Laragear / Rut

Gracefully handle RUTs from within your Laravel application
https://patreon.com/packagesforlaravel
MIT License
6 stars 0 forks source link

[1.x] Pick ups public functions into the builder. #8

Closed DarkGhostHunter closed 2 years ago

DarkGhostHunter commented 2 years ago

PHP & Platform

N/A

Laravel verion

9.8.0

Have you done this?

Expectation

Macro extensions pick up public OR static methods. Should take only those static AND public.

Description

Should use a collection and then filter the methods.

Reproduction

// https://github.com/Laragear/Rut/blob/fd970df14f2a027f5be0fd3a9ae0527c5a2974ee/src/Scopes/RutScope.php#L70

Stack trace & logs

No response

Are you a Patreon supporter?

Yes, with my username