mirror of
https://github.com/silverstripe/recipe-plugin.git
synced 2024-10-22 12:05:55 +00:00
23 lines
430 B
PHP
23 lines
430 B
PHP
<?php
|
|
|
|
namespace SilverStripe\RecipePlugin;
|
|
|
|
use Composer\Command\BaseCommand;
|
|
use Composer\Plugin\Capability\CommandProvider;
|
|
|
|
class RecipeCommandProvider implements CommandProvider
|
|
{
|
|
/**
|
|
* Retrieves an array of commands
|
|
*
|
|
* @return BaseCommand[]
|
|
*/
|
|
public function getCommands()
|
|
{
|
|
return [
|
|
new RequireRecipeCommand(),
|
|
new UpdateRecipeCommand(),
|
|
];
|
|
}
|
|
}
|