Skip to content

Commit

Permalink
fix base user method visibility
Browse files Browse the repository at this point in the history
fix symfony dependency
  • Loading branch information
wimvds committed Jun 10, 2015
1 parent dd5dac4 commit 007d45a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
17 changes: 15 additions & 2 deletions src/Kunstmaan/AdminBundle/Entity/BaseUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,19 @@ public static function loadValidatorMetadata(ClassMetadata $metadata)
)));
}

abstract protected function getFormTypeClass();
abstract protected function getAdminListConfiguratorClass();
/**
* Return class name of form type used to add & edit users
*
* @return string
*/
abstract public function getFormTypeClass();

/**
* Return class name of admin list configurator used for users
*
* @return string
*
* @deprecated Use the kunstmaan_user_management.user_admin_list_configurator.class parameter instead!
*/
abstract public function getAdminListConfiguratorClass();
}
2 changes: 1 addition & 1 deletion src/Kunstmaan/AdminBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
],
"require": {
"php": ">=5.4.0",
"symfony/symfony": "~2.3",
"symfony/symfony": "~2.5,<2.7",
"doctrine/orm": "~2.2,>=2.2.3",
"friendsofsymfony/user-bundle": "2.0.*@dev",
"knplabs/knp-menu-bundle": "~2.0",
Expand Down

0 comments on commit 007d45a

Please sign in to comment.