Overview

Namespaces

  • Composer
    • Autoload
  • Illuminate
    • Support
      • Contracts
      • Facades
  • Laravella
    • Crud
      • Exceptions
      • Facades
  • None
  • PHP

Classes

  • ClassLoader
  • Collection
  • Fluent
  • Manager
  • MessageBag
  • NamespacedItemResolver
  • Pluralizer
  • SerializableClosure
  • ServiceProvider
  • Str
  • Overview
  • Namespace
  • Class
  • Tree

Class ServiceProvider

Direct known subclasses

Laravella\Crud\CrudServiceProvider
Abstract
Namespace: Illuminate\Support
Located at vendor/illuminate/support/Illuminate/Support/ServiceProvider.php
Methods summary
public
# __construct( Illuminate\Foundation\Application $app )

Create a new service provider instance.

Create a new service provider instance.

Parameters

$app
Illuminate\Foundation\Application
$app
public
# boot( )

Bootstrap the application events.

Bootstrap the application events.

abstract public
# register( )

Register the service provider.

Register the service provider.

public
# package( string $package, string $namespace = null, string $path = null )

Register the package's component namespaces.

Register the package's component namespaces.

Parameters

$package
string
$package
$namespace
string
$namespace
$path
string
$path
public string
# guessPackagePath( )

Guess the package path for the provider.

Guess the package path for the provider.

Returns

string
protected array
# getClassChain( ReflectionClass $reflect )

Get a class from the ReflectionClass inheritance chain.

Get a class from the ReflectionClass inheritance chain.

Parameters

$reflect
ReflectionClass
$reflection

Returns

array
protected string
# getPackageNamespace( string $package, string $namespace )

Determine the namespace for a package.

Determine the namespace for a package.

Parameters

$package
string
$package
$namespace
string
$namespace

Returns

string
public
# commands( array $commands )

Register the package's custom Artisan commands.

Register the package's custom Artisan commands.

Parameters

$commands
array
$commands
protected string
# getAppViewPath( string $package, string $namespace )

Get the application package view path.

Get the application package view path.

Parameters

$package
string
$package
$namespace
string
$namespace

Returns

string
public array
# provides( )

Get the services provided by the provider.

Get the services provided by the provider.

Returns

array
public boolean
# isDeferred( )

Determine if the provider is deferred.

Determine if the provider is deferred.

Returns

boolean
Properties summary
protected Illuminate\Foundation\Application $app
#

The application instance.

The application instance.

protected boolean $defer false
#

Indicates if loading of the provider is deferred.

Indicates if loading of the provider is deferred.

crud API documentation generated by ApiGen 2.8.0