Skip to content

Commit

Permalink
ACP-4499: Add a new plugin for post-install setup (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
pushokwhite authored Jan 10, 2025
1 parent ad26dbb commit 260cb2b
Showing 1 changed file with 26 additions and 0 deletions.
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;
}

0 comments on commit 260cb2b

Please sign in to comment.