Skip to content

model:prune vs models in app directory #56068

Closed
@AnourValar

Description

@AnourValar

Laravel Version

12.19.0

PHP Version

8.4.9

Database Driver & Version

No response

Description

1cefdac

This refactor makes it impossible to use the command when the models are stored in the App directory, because the classes (not models) won't have an isPrunable method.

Steps To Reproduce

php artisan model:prune --path=/app

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions