Now using modularity standard v0.3

This is the newest release, and is the first one that is compatible
with PHP 8. Other changes are BC-breaking, but very very minor.
This commit is contained in:
Anton Ukhanev 2021-02-18 09:46:26 +01:00
parent cabcb7d9e4
commit 69d9631a73
19 changed files with 29 additions and 67 deletions

View file

@ -20,16 +20,14 @@ use Psr\Container\ContainerInterface;
class PluginModule implements ModuleInterface {
/**
* Sets the module up.
* {@inheritDoc}
*/
public function setup(): ServiceProviderInterface {
return new ServiceProvider( array(), array() );
}
/**
* Runs the module.
*
* @param ContainerInterface|null $container The Container.
* {@inheritDoc}
*/
public function run( ContainerInterface $container ): void {
}