Cartalyst\Sentinel\Native\SentinelBootstrapper::__construct PHP Method

__construct() public method

Constructor.
public __construct ( array $config = null ) : void
$config array
return void
    public function __construct($config = null)
    {
        if (is_string($config)) {
            $this->config = new ConfigRepository($config);
        } else {
            $this->config = $config ?: new ConfigRepository();
        }
    }