Skip to content

Commit

Permalink
Deprecate DiscoveryService.php
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Jul 9, 2022
1 parent 1987d43 commit cccb36e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ You will also need to update navigation related Blade templates, if you have pre

### Deprecated
- Deprecated `DiscoveryService::findModelFromFilePath()` - Use the Router instead.
- Deprecated `DiscoveryService.php` - Use the Router instead. (Some helpers may be moved to FluentPathHelpers.php)

### Removed
- The "no pages found, skipping" message has been removed as the build loop no longer recieves empty collections.
Expand Down
2 changes: 2 additions & 0 deletions packages/framework/src/Services/DiscoveryService.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
* The Discovery Service (previously called BuildService) provides
* helper methods for source file autodiscovery used in the building
* process to determine where files are located and how to parse them.
*
* @deprecated v0.48.0 as autodiscovery is now powered by the Router. The helpers here can be moved to FluentPathHelpers.php
*/
class DiscoveryService
{
Expand Down

0 comments on commit cccb36e

Please sign in to comment.