mirror of
https://github.com/itflow-org/itflow
synced 2026-03-01 03:14:52 +00:00
Remove the vendor directory in .gitignore as these dependencies are needed for php-imap
This commit is contained in:
34
plugins/php-imap/vendor/illuminate/pagination/PaginationServiceProvider.php
vendored
Executable file
34
plugins/php-imap/vendor/illuminate/pagination/PaginationServiceProvider.php
vendored
Executable file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
namespace Illuminate\Pagination;
|
||||
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
|
||||
class PaginationServiceProvider extends ServiceProvider
|
||||
{
|
||||
/**
|
||||
* Bootstrap any application services.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function boot()
|
||||
{
|
||||
$this->loadViewsFrom(__DIR__.'/resources/views', 'pagination');
|
||||
|
||||
if ($this->app->runningInConsole()) {
|
||||
$this->publishes([
|
||||
__DIR__.'/resources/views' => $this->app->resourcePath('views/vendor/pagination'),
|
||||
], 'laravel-pagination');
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Register the service provider.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function register()
|
||||
{
|
||||
PaginationState::resolveUsing($this->app);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user