src/Session.php
protected function setDefaults()
	{
		$this->name = 'gears-session';

		$this->table = 'sessions';

		$this->lifetime = 120;

		$this->path = '/';

		$this->dbConnection = function()
		{
			if (!is_array($this->dbConfig))
			{
				throw new RuntimeException
				(
					'Invalid Database Connection Provided'
				);
			}

			$capsule = new LaravelDb;
			$capsule->addConnection($this->dbConfig);
			return $capsule->getConnection('default');
		};

		$this->databaseSessionHandler = function()
		{
			return new DatabaseSessionHandler
			(
				$this->dbConnection,
				$this->table
			);
		};

		$this->sessionStore = function()
		{
			return new Store
			(
				$this->name,
				$this->databaseSessionHandler
			);
		};
	}
protected function setDefaults()
	{
		$this->name = 'gears-session';

		$this->table = 'sessions';

		$this->lifetime = 120;

		$this->path = '/';

		$this->dbConnection = function()
		{
			if (!is_array($this->dbConfig))
			{
				throw new RuntimeException
				(
					'Invalid Database Connection Provided'
				);
			}

			$capsule = new LaravelDb;
			$capsule->addConnection($this->dbConfig);
			return $capsule->getConnection('default');
		};

		$this->databaseSessionHandler = function()
		{
			return new DatabaseSessionHandler
			(
				$this->dbConnection,
				$this->table
			);
		};

		$this->sessionStore = function()
		{
			return new Store
			(
				$this->name,
				$this->databaseSessionHandler
			);
		};
	}
Method: setDefaults
=========================================================================
This is where we set all our defaults. If you need to customise this
container this is a good place to look to see what can be configured
and how to configure it.

Parameters:
-------------------------------------------------------------------------
n/a

Returns:
-------------------------------------------------------------------------
void