public function getDependencies(): array
{
$dependencyItems = [
DependencyListItem::of(
DependencyAction::of('COMPANY_INDUSTRY', 'show'),
DependencyCondition::of('change', 'any', 'COMPANY_TITLE')
),
DependencyListItem::of(
DependencyAction::of('COMPANY_PHONE', 'show'),
DependencyCondition::of('change', 'any', 'COMPANY_TITLE')
),
DependencyListItem::of(
DependencyAction::of('COMPANY_EMAIL', 'show'),
DependencyCondition::of('change', 'any', 'COMPANY_TITLE')
),
DependencyListItem::of(
DependencyAction::of('COMPANY_INDUSTRY', 'show'),
DependencyCondition::of('change', 'any', 'COMPANY_ADDRESS')
),
DependencyListItem::of(
DependencyAction::of('COMPANY_PHONE', 'show'),
DependencyCondition::of('change', 'any', 'COMPANY_ADDRESS')
),
DependencyListItem::of(
DependencyAction::of('COMPANY_EMAIL', 'show'),
DependencyCondition::of('change', 'any', 'COMPANY_ADDRESS')
),
DependencyListItem::of(
DependencyAction::of('COMPANY_INDUSTRY', 'show'),
DependencyCondition::of('change', 'any', 'COMPANY_REG_ADDRESS')
),
DependencyListItem::of(
DependencyAction::of('COMPANY_PHONE', 'show'),
DependencyCondition::of('change', 'any', 'COMPANY_REG_ADDRESS')
),
DependencyListItem::of(
DependencyAction::of('COMPANY_EMAIL', 'show'),
DependencyCondition::of('change', 'any', 'COMPANY_REG_ADDRESS')
),
];
return [
DependencyItem::of($dependencyItems, 'or', FieldDepGroupTable::TYPE_AND)
];
}