mirror of
https://github.com/silverstripe/recipe-plugin.git
synced 2024-10-22 14:05:55 +02:00
FIX Remove unnecessary methods from trait, adds Composer 2.3 compatibility (#19)
This commit is contained in:
parent
102c2bc100
commit
a76509e8a6
@ -14,31 +14,6 @@ use Symfony\Component\Console\Output\OutputInterface;
|
||||
|
||||
trait RecipeCommandBehaviour
|
||||
{
|
||||
/**
|
||||
* Gets the application instance for this command.
|
||||
*
|
||||
* @return Application An Application instance
|
||||
*/
|
||||
public abstract function getApplication();
|
||||
|
||||
/**
|
||||
* @param bool $required
|
||||
* @param bool|null $disablePlugins
|
||||
* @throws \RuntimeException
|
||||
* @return Composer
|
||||
*/
|
||||
public abstract function getComposer($required = true, $disablePlugins = null);
|
||||
|
||||
/**
|
||||
* Removes the cached composer instance
|
||||
*/
|
||||
public abstract function resetComposer();
|
||||
|
||||
/**
|
||||
* @return IOInterface
|
||||
*/
|
||||
abstract public function getIO();
|
||||
|
||||
/**
|
||||
* @param OutputInterface $output
|
||||
* @param string $recipe
|
||||
|
Loading…
Reference in New Issue
Block a user