Skip to content

Commit

Permalink
Merge pull request #4 from Micro-PHP/v1.2-release
Browse files Browse the repository at this point in the history
v1.1 release
  • Loading branch information
Asisyas authored Nov 25, 2022
2 parents 710c281 + 22e6c27 commit 3361833
Show file tree
Hide file tree
Showing 21 changed files with 25 additions and 424 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ $kernel = $kernelBuilder
->setApplicationPlugins([
TestPlugin::class
])
->setBootLoaders([
->addBootLoaders([
new DependencyProviderLoader($container)
])
->build();
Expand Down
5 changes: 2 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "micro/kernel",
"type": "library",
"description": "",
"version": "1.0",
"version": "1.1",
"license": "MIT",
"autoload": {
"psr-4": {
Expand All @@ -17,7 +17,6 @@
],
"require": {
"php": ">=8.0",
"micro/dependency-injection": "^1",
"micro/event-emitter": "^1"
"micro/dependency-injection": "^1"
}
}
11 changes: 0 additions & 11 deletions src/Configuration/ApplicationConfigurationFactoryInterface.php

This file was deleted.

15 changes: 0 additions & 15 deletions src/Configuration/ApplicationConfigurationInterface.php

This file was deleted.

64 changes: 0 additions & 64 deletions src/Configuration/DefaultApplicationConfiguration.php

This file was deleted.

21 changes: 0 additions & 21 deletions src/Configuration/DefaultApplicationConfigurationFactory.php

This file was deleted.

7 changes: 0 additions & 7 deletions src/Configuration/Exception/InvalidConfigurationException.php

This file was deleted.

33 changes: 0 additions & 33 deletions src/Configuration/PluginConfiguration.php

This file was deleted.

7 changes: 0 additions & 7 deletions src/Configuration/PluginConfigurationInterface.php

This file was deleted.

42 changes: 0 additions & 42 deletions src/Configuration/PluginRoutingKeyConfiguration.php

This file was deleted.

65 changes: 0 additions & 65 deletions src/Configuration/Resolver/PluginConfigurationClassResolver.php

This file was deleted.

This file was deleted.

14 changes: 0 additions & 14 deletions src/Configuration/Resolver/PluginNameResolver.php

This file was deleted.

14 changes: 0 additions & 14 deletions src/Configuration/Resolver/PluginNameShortResolver.php

This file was deleted.

6 changes: 3 additions & 3 deletions src/Container/ApplicationContainerFactoryInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

namespace Micro\Framework\Kernel\Container;

use Micro\Component\DependencyInjection\Container;
use Psr\Container\ContainerInterface;

interface ApplicationContainerFactoryInterface
{
/**
* @return Container
* @return ContainerInterface
*/
public function create(): Container;
public function create(): ContainerInterface;
}
3 changes: 2 additions & 1 deletion src/Container/Impl/ApplicationContainerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@

use Micro\Component\DependencyInjection\Container;
use Micro\Framework\Kernel\Container\ApplicationContainerFactoryInterface;
use Psr\Container\ContainerInterface;

class ApplicationContainerFactory implements ApplicationContainerFactoryInterface
{
/**
* {@inheritDoc}
*/
public function create(): Container
public function create(): ContainerInterface
{
return new Container();
}
Expand Down
Loading

0 comments on commit 3361833

Please sign in to comment.