| 1 | <?php |
||
| 10 | final class Index implements CreatableFromArray |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @var array |
||
| 14 | */ |
||
| 15 | private $profilePatterns; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param array $profilePatterns |
||
| 19 | */ |
||
| 20 | private function __construct(array $profilePatterns) |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @param array $data |
||
| 27 | * |
||
| 28 | * @return |
||
| 29 | */ |
||
| 30 | public static function createFromArray(array $data) |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @return array |
||
| 37 | */ |
||
| 38 | public function getProfilePatterns() |
||
| 42 | } |
||
| 43 |