src/Payum/Core/Bridge/Symfony/Builder/TokenFactoryBuilder.php
public function build(StorageInterface $tokenStorage, StorageRegistryInterface $storageRegistry)
    {
        return new TokenFactory($tokenStorage, $storageRegistry, $this->urlGenerator);
    }
public function build(StorageInterface $tokenStorage, StorageRegistryInterface $storageRegistry)
    {
        return new TokenFactory($tokenStorage, $storageRegistry, $this->urlGenerator);
    }
@param StorageInterface $tokenStorage
@param StorageRegistryInterface $storageRegistry

@return TokenFactoryInterface