-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #115 from ctidigital/configurator-3.x
Configurator 3
- Loading branch information
Showing
87 changed files
with
1,896 additions
and
2,191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?php | ||
|
||
namespace CtiDigital\Configurator\Api; | ||
|
||
interface ComponentInterface | ||
{ | ||
/** | ||
* @param array $data | ||
* @return void | ||
*/ | ||
public function execute($data); | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getAlias(); | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getDescription(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
|
||
namespace CtiDigital\Configurator\Api; | ||
|
||
interface ComponentListInterface | ||
{ | ||
/** | ||
* @param $componentAlias | ||
* @return ComponentInterface|bool | ||
*/ | ||
public function getComponent($componentAlias); | ||
|
||
/** | ||
* @return ComponentInterface[] | ||
*/ | ||
public function getAllComponents(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
namespace CtiDigital\Configurator\Api; | ||
|
||
interface FileComponentInterface extends ComponentInterface | ||
{ | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.