protected function createTokenRepository(array $config) { return $this->{'create' . ucfirst($config['driver']) . 'Repository'}($config); }