mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 12:24:04 +00:00
Delete todo comment ($modelsExcludedFromDiscovery added)
This commit is contained in:
parent
692860eb6f
commit
105c866aef
1 changed files with 0 additions and 1 deletions
|
|
@ -29,7 +29,6 @@ trait DealsWithModels
|
|||
|
||||
$modelFiles = Finder::create()->files()->name('*.php')->in(config('tenancy.rls.model_directories'));
|
||||
|
||||
// todo1 Add array property for excluding specific models
|
||||
return array_filter(array_map(function (SplFileInfo $file) {
|
||||
$fileContents = str($file->getContents());
|
||||
$class = $fileContents->after('class ')->before("\n")->explode(' ')->first();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue