Skip to content

Commit 5f4e5c3

Browse files
authored
Add Illuminate\Session\Store::setHandler() (#44736)
1 parent 0c9675a commit 5f4e5c3

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/Illuminate/Session/Store.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -732,6 +732,17 @@ public function getHandler()
732732
return $this->handler;
733733
}
734734

735+
/**
736+
* Set the underlying session handler implementation.
737+
*
738+
* @param \SessionHandlerInterface $handler
739+
* @return void
740+
*/
741+
public function setHandler(SessionHandlerInterface $handler)
742+
{
743+
return $this->handler = $handler;
744+
}
745+
735746
/**
736747
* Determine if the session handler needs a request.
737748
*

0 commit comments

Comments
 (0)