Skip to content

Commit

Permalink
add setContainer to DatabaseSessionHandler
Browse files Browse the repository at this point in the history
  • Loading branch information
themsaid committed May 31, 2021
1 parent f8c8be1 commit 7a71c29
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/Illuminate/Session/DatabaseSessionHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,19 @@ protected function getQuery()
return $this->connection->table($this->table);
}

/**
* Set the application instance used by the handler.
*
* @param \Illuminate\Contracts\Foundation\Application $container
* @return $this
*/
public function setContainer($container)
{
$this->container = $container;

return $this;
}

/**
* Set the existence state for the session.
*
Expand Down

0 comments on commit 7a71c29

Please sign in to comment.