//override other classes App::bind('Lib\\Repository', function () { return new Plugins\Streaming\Plugin\Lib\Repository(); }); App::bind('Lib\\Titles\\TitleRepository', function () { return new Plugins\Streaming\Plugin\Lib\Titles\TitleRepository(); }); class Title extends Plugins\Streaming\Plugin\Models\Title { } App::bind('Title', function () { return new Title(); }); App::bind('Lib\\Categories\\CategoriesRepository', function () { return new Plugins\Streaming\Plugin\Lib\Categories\StreamingCategoriesRepository(); }); Hooks::registerScript(url('plugins/streaming/assets/js/links.js')); Hooks::registerScript(url('plugins/streaming/assets/js/create.js')); Hooks::registerScript(url('plugins/streaming/assets/js/show.js')); Hooks::registerCss(url('plugins/streaming/assets/css/streaming.css')); Hooks::registerView('Dashboard.Sidebar'); Hooks::registerView('Titles.Create.Tabs.Panels'); Hooks::registerView('Titles.Create.Tabs.Buttons'); Hooks::registerView('Titles.Index.UnderFilters'); Hooks::registerView('Titles.Index.ForEachMovie'); Hooks::registerReplace('Titles.Seasons.ForEachMovie'); Hooks::registerReplace('Home.ForEachMovie'); Hooks::registerView('Titles.Show.BeforeScripts'); Hooks::registerView('Titles.Show.AfterScripts'); Hooks::RegisterReplace('Titles.Show.LinksPanel'); Hooks::RegisterReplace('Episodes.Show.Jumbotron');