-
Notifications
You must be signed in to change notification settings - Fork 11.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[7.x] Publish resources.stub in stub:publish command (#33862)
* [7.x] Add a new helper to determine the true parent of a class. Some examples of use are: ```php class_parent_initial(HasMany::class); // Returns Relation::class class_parent_initial(HasOne::class); // Returns Relation::class class_parent_initial(HasOneOrMany::class); // Returns Relation::class ``` * [7.x] Publish resources.stub in stub:publish command * Remove parent_class helper * Update stub resources to match the format of the other publishable stubs.
- Loading branch information
1 parent
7cd8ca8
commit 4d0d883
Showing
4 changed files
with
21 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
src/Illuminate/Foundation/Console/stubs/resource-collection.stub
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters