Skip to content

Commit 5e6f663

Browse files
committed
Added imponeer/extension-info-contracts to requirements
1 parent f2ce966 commit 5e6f663

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"type": "library",
55
"require": {
66
"imponeer/log-data-output-decorator": "^1.0",
7-
"php": ">=7.1"
7+
"php": ">=7.1",
8+
"imponeer/extension-info-contracts": "^0.1.0"
89
},
910
"license": "MIT",
1011
"authors": [

src/InstallableExtensionInterface.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
namespace Imponeer\Contracts\ExtensionsSetup;
44

5+
use Imponeer\Contracts\ExtensionInfo\ExtensionInfoInterface;
6+
57
/**
68
* Extension that must implement all classes that supplies data for setup step
79
*
@@ -10,4 +12,11 @@
1012
interface InstallableExtensionInterface
1113
{
1214

15+
/**
16+
* Gets extension info
17+
*
18+
* @return ExtensionInfoInterface
19+
*/
20+
public function getExtensionInfo(): ExtensionInfoInterface;
21+
1322
}

src/SetupStepInterface.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?php
22

3-
43
namespace Imponeer\Contracts\ExtensionsSetup;
54

65
use Imponeer\Decorators\LogDataOutput\OutputDecorator;

0 commit comments

Comments
 (0)