1 | <?php |
||
17 | class DocumentAnalysis implements DocumentInterface |
||
18 | { |
||
19 | /** @var string */ |
||
20 | protected $documentSide; |
||
21 | |||
22 | /** @var string */ |
||
23 | protected $documentType; |
||
24 | |||
25 | /** @var string */ |
||
26 | protected $filePath; |
||
27 | |||
28 | /** @var string */ |
||
29 | protected $fieldName; |
||
30 | |||
31 | /** |
||
32 | * @param string $documentSide |
||
33 | * @return DocumentAnalysis |
||
34 | */ |
||
35 | public function setDocumentSide(string $documentSide): DocumentAnalysis |
||
40 | |||
41 | /** |
||
42 | * @param string $documentType |
||
43 | * @return DocumentAnalysis |
||
44 | */ |
||
45 | public function setDocumentType(string $documentType): DocumentAnalysis |
||
50 | |||
51 | /** |
||
52 | * @param string $path |
||
53 | * @return DocumentAnalysis |
||
54 | */ |
||
55 | public function setFilePath(string $path): DocumentAnalysis |
||
60 | |||
61 | /** |
||
62 | * @param string $name |
||
63 | * @return DocumentAnalysis |
||
64 | */ |
||
65 | public function setFieldName(string $name): DocumentAnalysis |
||
70 | |||
71 | /** |
||
72 | * @return string |
||
73 | */ |
||
74 | public function getDocumentSide(): string |
||
78 | |||
79 | /** |
||
80 | * @return string |
||
81 | */ |
||
82 | public function getDocumentType(): string |
||
86 | |||
87 | /** |
||
88 | * @return string |
||
89 | */ |
||
90 | public function getFileName(): string |
||
94 | |||
95 | /** |
||
96 | * @return mixed |
||
97 | */ |
||
98 | public function getFileContents() |
||
102 | |||
103 | /** |
||
104 | * @return string |
||
105 | */ |
||
106 | public function getFieldName(): string |
||
110 | } |
||
111 |