File "OperationInterface.php"

Full path: /home/argothem/www/organecyberpresse/vendor/spip-league/composer-installer/src/Switch/Operation/OperationInterface.php
File size: 452 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace SpipLeague\Composer\Switch\Operation;

use Composer\Composer;
use SpipLeague\Composer\Extensions\CollectionInterface;

/**
 * @since 0.7.0
 */
interface OperationInterface
{
    public function getMessage(): string;

    public function getType(): string;

    public function mark(CollectionInterface $distribution, Composer $composer): ?self;

    public function do(CollectionInterface $distribution, Composer $composer): string;
}