src/Modules/Scripts/After.php
<?php
namespace Tapestry\Modules\Scripts;
use Tapestry\Step;
use Tapestry\Entities\Project;
use Symfony\Component\Console\Output\OutputInterface;
class After extends Script implements Step
{
/**
* Process the Project at current.
*
* @param Project $project
* @param OutputInterface $output
*
* @return mixed
*/
public function __invoke(Project $project, OutputInterface $output)
{
$this->tapestry->getEventEmitter()->emit('scripts.after');
return true;
}
}