// setting headers and column order
$tableHeaders =
array_intersect_key([ 'own' => 'Options',
'overridden' => 'Overridden options',
'parent' => 'Parent options',
'extension' => 'Extension options',
],
$formOptions);
$this->output->
title(sprintf('%s (Block prefix: "%s")',
$resolvedFormType->
getInnerType()::
class,
$resolvedFormType->
getInnerType()->
getBlockPrefix()));
if ($formOptions) { $this->output->
table($tableHeaders,
$this->
buildTableRows($tableHeaders,
$formOptions));
} if ($this->parents
) { $this->output->
section('Parent types'
);
$this->output->
listing(array_map($this->
formatClassLink(...
),
$this->parents
));
} if ($this->extensions
) { $this->output->
section('Type extensions'
);
$this->output->
listing(array_map($this->
formatClassLink(...
),
$this->extensions
));
} }