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

createPersistence() protected method

Creates a persistences repository.
protected createPersistence ( ) : IlluminatePersistenceRepository
return Cartalyst\Sentinel\Persistences\IlluminatePersistenceRepository
    protected function createPersistence()
    {
        $session = $this->createSession();
        $cookie = $this->createCookie();
        $model = $this->config['persistences']['model'];
        return new IlluminatePersistenceRepository($session, $cookie, $model);
    }