public function getHandler(string $name): \SessionHandlerInterface
    {
        $name = strtolower($name);
        $this->isValidate($name);
        return App::getBean($this->handlers[$name]);
    }
public function getHandler(string $name): \SessionHandlerInterface
    {
        $name = strtolower($name);
        $this->isValidate($name);
        return App::getBean($this->handlers[$name]);
    }
public function getHandler ( string $ name ) : \ SessionHandlerInterface { $ name = strtolower ( $ name ) ; $ this -> isValidate ( $ name ) ; return App :: getBean ( $ this -> handlers [ $ name ] ) ; }
Get a handler by name

@param string $name
@return \SessionHandlerInterface
@throws \InvalidArgumentException
Get a handler by name