PHP Class Cartalyst\Sentinel\Native\Facades\Sentinel

Datei anzeigen Open project: cartalyst/sentinel Class Usage Examples

Protected Properties

Property Type Description
$instance Cartalyst\Sentinel\Native\SentinelBootstrapper The Native Bootstraper instance.
$sentinel Cartalyst\Sentinel\Sentinel The Sentinel instance.

Public Methods

Method Description
__callStatic ( string $method, array $args ) : mixed Handle dynamic, static calls to the object.
__construct ( SentinelBootstrapper $bootstrapper = null ) : void Constructor.
getSentinel ( ) : Sentinel Returns the Sentinel instance.
instance ( SentinelBootstrapper $bootstrapper = null ) : void Creates a new Native Bootstraper instance.

Method Details

__callStatic() public static method

Handle dynamic, static calls to the object.
public static __callStatic ( string $method, array $args ) : mixed
$method string
$args array
return mixed

__construct() public method

Constructor.
public __construct ( SentinelBootstrapper $bootstrapper = null ) : void
$bootstrapper Cartalyst\Sentinel\Native\SentinelBootstrapper
return void

getSentinel() public method

Returns the Sentinel instance.
public getSentinel ( ) : Sentinel
return Cartalyst\Sentinel\Sentinel

instance() public static method

Creates a new Native Bootstraper instance.
public static instance ( SentinelBootstrapper $bootstrapper = null ) : void
$bootstrapper Cartalyst\Sentinel\Native\SentinelBootstrapper
return void

Property Details

$instance protected_oe static_oe property

The Native Bootstraper instance.
protected static SentinelBootstrapper,Cartalyst\Sentinel\Native $instance
return Cartalyst\Sentinel\Native\SentinelBootstrapper

$sentinel protected_oe property

The Sentinel instance.
protected Sentinel,Cartalyst\Sentinel $sentinel
return Cartalyst\Sentinel\Sentinel