1 | <?php |
||
10 | class TokenFactory extends AbstractTokenFactory |
||
11 | { |
||
12 | /** |
||
13 | * $urlGenerator. |
||
14 | * |
||
15 | * @var \Illuminate\Contracts\Routing\UrlGenerator |
||
16 | */ |
||
17 | protected $urlGenerator; |
||
18 | |||
19 | /** |
||
20 | * __construct. |
||
21 | * |
||
22 | * @param \Payum\Core\Storage\StorageInterface $tokenStorage |
||
23 | * @param \Payum\Core\Registry\StorageRegistryInterface $storageRegistry |
||
24 | * @param \Illuminate\Contracts\Routing\UrlGenerator $urlGenerator |
||
25 | */ |
||
26 | 2 | public function __construct(StorageInterface $tokenStorage, StorageRegistryInterface $storageRegistry, UrlGenerator $urlGenerator) |
|
32 | |||
33 | /** |
||
34 | * generateUrl. |
||
35 | * |
||
36 | * @param string $path |
||
37 | * @param array $parameters |
||
38 | * @return string |
||
39 | */ |
||
40 | 1 | protected function generateUrl($path, array $parameters = []) |
|
44 | } |
||
45 |