1 | <?php declare(strict_types = 1); |
||
32 | class Classification { |
||
33 | |||
34 | /** |
||
35 | * Array of regular expressions |
||
36 | * |
||
37 | * @var array |
||
38 | */ |
||
39 | protected $matchPatterns = []; |
||
40 | |||
41 | /** |
||
42 | * @var string |
||
43 | */ |
||
44 | protected $mappedClass = ''; |
||
45 | |||
46 | /** |
||
47 | * Classification constructor. |
||
48 | */ |
||
49 | public function __construct(array $matchPatterns = [], string $mappedClass = '') |
||
54 | |||
55 | /** |
||
56 | * @return array |
||
57 | */ |
||
58 | public function getMatchPatterns(): array |
||
62 | |||
63 | /** |
||
64 | * @param array $matchPatterns |
||
65 | */ |
||
66 | public function setMatchPatterns(array $matchPatterns) |
||
70 | |||
71 | /** |
||
72 | * @return string |
||
73 | */ |
||
74 | public function getMappedClass(): string |
||
78 | |||
79 | /** |
||
80 | * @param string $mappedClass |
||
81 | */ |
||
82 | public function setMappedClass(string $mappedClass) |
||
86 | } |