The SessionFactory takes 2 mandatory arguments: SessionConfig and a FactoryInterface. However, the FactoryInterface is only needed when a specific session handler is configured (so that Autowire can resolve it)
How To Reproduce
If the configured handler is left to default (null), the expected behaviour is not to override the php ini native session handler. In this case there shouldn't be a need to pass a FactoryInterface
Additional Info
Q
A
Framework Version
none (using latest spiral/session package without framework)
Description
The SessionFactory takes 2 mandatory arguments:
SessionConfig
and aFactoryInterface
. However, theFactoryInterface
is only needed when a specific session handler is configured (so that Autowire can resolve it)How To Reproduce
If the configured handler is left to default (null), the expected behaviour is not to override the php ini native session handler. In this case there shouldn't be a need to pass a
FactoryInterface
Additional Info
spiral/session
package without framework)