-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ACP-4499: Add a new plugin for post-install setup (#5)
- Loading branch information
1 parent
ad26dbb
commit 260cb2b
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
src/Spryker/Zed/AppKernelExtension/Dependency/Plugin/PostInstallTaskPluginInterface.php
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,26 @@ | ||
<?php | ||
|
||
namespace Spryker\Zed\AppKernelExtension\Dependency\Plugin; | ||
|
||
use Symfony\Component\Console\Input\InputInterface; | ||
use Symfony\Component\Console\Output\OutputInterface; | ||
|
||
/** | ||
* Introduced to run post install tasks. | ||
* Despite the name, this plugin is not intended to be executed in Spryker post-deploy hook `SPRYKER_HOOK_AFTER_DEPLOY` as it is not executed in the context of the application. | ||
*/ | ||
interface PostInstallTaskPluginInterface | ||
{ | ||
/** | ||
* Specification: | ||
* - Runs task that should be executed after deployment. | ||
* | ||
* @api | ||
* | ||
* @param \Symfony\Component\Console\Input\InputInterface $input | ||
* @param \Symfony\Component\Console\Output\OutputInterface $output | ||
* | ||
* @return void | ||
*/ | ||
public function run(InputInterface $input, OutputInterface $output): void; | ||
} |