| Total Complexity | 4 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | class ManyHandler extends Extension |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var array |
||
| 18 | */ |
||
| 19 | private static $field_types = [ |
||
|
|
|||
| 20 | 'ManyRelation' |
||
| 21 | ]; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param $data |
||
| 25 | * @param $dataField |
||
| 26 | * @param $config |
||
| 27 | * @param $dbField |
||
| 28 | * @param string |\SilverStripe\ORM\DataObject $class |
||
| 29 | * |
||
| 30 | * @return int|DataObject|array |
||
| 31 | * @throws \Exception |
||
| 32 | */ |
||
| 33 | public function handleManyRelationType($data, $dataField, $config, $dbField, $class) |
||
| 53 |