Skip to content

Commit

Permalink
Add AdminExtensionInterface::configure NEXT_MAJOR method template
Browse files Browse the repository at this point in the history
  • Loading branch information
yann-eugone authored and VincentLanglet committed May 2, 2021
1 parent 0ef7d59 commit 268c146
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Admin/AdminExtensionInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,13 @@ public function alterObject(AdminInterface $admin, $object);
*/
public function getPersistentParameters(AdminInterface $admin);

/**
* Get a chance to configure admin before used.
*
* @phpstan-param AdminInterface<T> $admin
*/
// public function configure(AdminInterface $admin): void;

/**
* Get a chance to add persistent parameters.
*
Expand Down

0 comments on commit 268c146

Please sign in to comment.