Skip to content

Commit

Permalink
Changing the names of variables in the skeleton
Browse files Browse the repository at this point in the history
  • Loading branch information
axzx authored and jordisala1991 committed Apr 3, 2021
1 parent d2bc843 commit 09ff37b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/Resources/skeleton/Admin.tpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
final class <?= $class_name ?> extends AbstractAdmin
{

protected function configureDatagridFilters(DatagridMapper $datagridMapper): void
protected function configureDatagridFilters(DatagridMapper $filter): void
{
$datagridMapper
$filter
<?= $fields ?>;
}

protected function configureListFields(ListMapper $listMapper): void
protected function configureListFields(ListMapper $list): void
{
$listMapper
$list
<?= $fields ?>->add(ListMapper::NAME_ACTIONS, null, [
'actions' => [
'show' => [],
Expand All @@ -31,15 +31,15 @@ protected function configureListFields(ListMapper $listMapper): void
]);
}

protected function configureFormFields(FormMapper $formMapper): void
protected function configureFormFields(FormMapper $form): void
{
$formMapper
$form
<?= $fields ?>;
}

protected function configureShowFields(ShowMapper $showMapper): void
protected function configureShowFields(ShowMapper $show): void
{
$showMapper
$show
<?= $fields ?>;
}
}

0 comments on commit 09ff37b

Please sign in to comment.