Skip to content

Commit

Permalink
Service provider
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanThompson committed Oct 10, 2019
1 parent 83ea6a8 commit 1003508
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
7 changes: 7 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,12 @@
"psr-4": {
"Pyrocms\\AfterburnerTheme\\": "src/"
}
},
"extra": {
"laravel": {
"providers": [
"Pyrocms\\AfterburnerTheme\\AfterburnerThemeServiceProvider"
]
}
}
}
7 changes: 6 additions & 1 deletion src/AfterburnerThemeServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,15 @@ class AfterburnerThemeServiceProvider extends AddonServiceProvider
*
* @var array
*/
protected $overrides = [
public $overrides = [
'streams::table.table' => 'pyrocms.theme.afterburner::streams.table.table',
'streams::table.partials.views' => 'pyrocms.theme.afterburner::streams.table.partials.views',
'streams::table.partials.filters' => 'pyrocms.theme.afterburner::streams.table.partials.filters',
'streams::table.partials.heading' => 'pyrocms.theme.afterburner::streams.table.partials.heading',
];

public function register()
{
dd('# code...');
}
}

0 comments on commit 1003508

Please sign in to comment.