File tree Expand file tree Collapse file tree 1 file changed +0
-18
lines changed
src/Symfony/Component/HttpFoundation Expand file tree Collapse file tree 1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -949,24 +949,6 @@ public function setRequestFormat($format)
949
949
$ this ->format = $ format ;
950
950
}
951
951
952
- public function setLocale ($ locale )
953
- {
954
- if (!$ this ->hasSession ()) {
955
- throw new \LogicException ('Forward compatibility for Request::setLocale() requires the session to be set. ' );
956
- }
957
-
958
- $ this ->session ->setLocale ($ locale );
959
- }
960
-
961
- public function getLocale ()
962
- {
963
- if (!$ this ->hasSession ()) {
964
- throw new \LogicException ('Forward compatibility for Request::getLocale() requires the session to be set. ' );
965
- }
966
-
967
- return $ this ->session ->getLocale ();
968
- }
969
-
970
952
/**
971
953
* Gets the format associated with the request.
972
954
*
You can’t perform that action at this time.
0 commit comments