protected function createDatabaseProvider()
	{
		$connection = $this->app['db']->connection();

		// When using the basic database user provider, we need to inject the table we
		// want to use, since this is not an ActiveRecord model we will have no way to
		// know without telling the provider, so we'll inject the config value.
		$table = $this->app['config']['auth.table'];

		return new DatabaseUserProvider($connection, $this->app['hash'], $table);
	}
protected function createDatabaseProvider()
	{
		$connection = $this->app['db']->connection();

		// When using the basic database user provider, we need to inject the table we
		// want to use, since this is not an ActiveRecord model we will have no way to
		// know without telling the provider, so we'll inject the config value.
		$table = $this->app['config']['auth.table'];

		return new DatabaseUserProvider($connection, $this->app['hash'], $table);
	}
protected function createDatabaseProvider ( ) { $ connection = $ this -> app [ 'db' ] -> connection ( ) ; // When using the basic database user provider, we need to inject the table we // want to use, since this is not an ActiveRecord model we will have no way to // know without telling the provider, so we'll inject the config value. $ table = $ this -> app [ 'config' ] [ 'auth.table' ] ; return new DatabaseUserProvider ( $ connection , $ this -> app [ 'hash' ] , $ table ) ; }
Create an instance of the database user provider.

@return \Fly\Auth\DatabaseUserProvider
Create an instance of the database user provider .