add missing routing definition in ctrl/base + php version 7 require

This commit is contained in:
a-sansara 2017-03-30 01:51:26 +02:00
parent 071aa12e13
commit 260ffeeb74
2 changed files with 13 additions and 1 deletions

View File

@ -17,7 +17,8 @@
}
},
"require": {
"meta-tech/pws-auth" : "@dev",
"php" : "^7.0",
"meta-tech/pws-auth" : "^2.1",
"meta-tech/silex-controller-service" : "^1.0",
"silex/silex": "^2.0",
"gecko-packages/gecko-silex-config-service": "^2.0",

View File

@ -51,6 +51,17 @@ abstract class Base implements ControllerProviderInterface
}
/*!
* @method routing
* @public
* @param Silex\ControllerCollection $collection
* @return Silex\ControllerCollection
*/
public function routing(ControllerCollection $collection) : ControllerCollection
{
return $collection;
}
/*!
* @method connect
* @public