1 | <?php |
||
13 | class EncryptionService |
||
14 | { |
||
15 | /** |
||
16 | * @var EncryptorInterface |
||
17 | */ |
||
18 | private $encryptor; |
||
19 | |||
20 | /** |
||
21 | * @var SerializerInterface |
||
22 | */ |
||
23 | private $serializer; |
||
24 | |||
25 | /** |
||
26 | * @var EncryptedColumnVO[] |
||
27 | */ |
||
28 | private $originalValues = []; |
||
29 | |||
30 | /** |
||
31 | * @var ContainerInterface |
||
32 | */ |
||
33 | private $encryptors; |
||
34 | |||
35 | /** |
||
36 | * @var ContainerInterface |
||
37 | */ |
||
38 | private $serializers; |
||
39 | |||
40 | /** |
||
41 | * @var ContainerInterface |
||
42 | */ |
||
43 | private $keys; |
||
44 | |||
45 | public function __construct( |
||
46 | EncryptorInterface $encryptor, |
||
47 | 5 | SerializerInterface $serializer, |
|
48 | ContainerInterface $encryptors, |
||
49 | ContainerInterface $serializers, |
||
50 | ContainerInterface $keys |
||
51 | ) { |
||
52 | $this->encryptor = $encryptor; |
||
53 | 5 | $this->serializer = $serializer; |
|
54 | 5 | $this->encryptors = $encryptors; |
|
55 | 5 | $this->serializers = $serializers; |
|
56 | 5 | $this->keys = $keys; |
|
57 | 5 | } |
|
58 | |||
59 | 5 | public function decryptField(EncryptedColumnVO $value) |
|
69 | |||
70 | 5 | public function encryptField($value): EncryptedColumnVO |
|
104 | |||
105 | /** |
||
106 | * @param EncryptedColumnVO $value |
||
107 | 5 | * @return \Closure |
|
108 | */ |
||
109 | 5 | private function createInitializer(EncryptedColumnVO $value): \Closure |
|
122 | } |
||
123 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.