Skip to content
Snippets Groups Projects
Select Git revision
  • ef057002483c28e8a2d7e8dd3deeaf88e96c17d3
  • master default protected
  • release-1.3.10
  • popover-bootstrap-3.4
  • zf-3.x
  • 3.0.9
  • 3.0.8
  • 1.3.10
  • 3.0.7
  • 3.0.6
  • 3.0.5
  • 3.0.4
  • 3.0.3
  • 3.0.2
  • 3.0.1
  • 3.0.0
  • 1.3.9
  • 1.3.8
  • 1.3.7
  • 1.3.6
  • 1.3.5
  • 1.3.4
  • 1.3.3
  • 1.3.2
  • 1.3.1
25 results

schema_postgresql.sql

Blame
  • Forked from lib / unicaen / auth
    Source project has a limited visibility.
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    ShellCommandInterface.php 1.11 KiB
    <?php
    
    namespace UnicaenShell\Command;
    
    interface ShellCommandInterface
    {
        /**
         * Retourne le "petit nom" de cette commande.
         */
        public function getName(): string;
    
        /**
         * Spécifie les options de fonctionnement de cette commande.
         */
        public function setOptions(array $options);
    
        /**
         * Spécifie le chemin du fichier de sortie.
         */
        public function setOutputFilePath(string $outputFilePath): self;
    
        /**
         * Génère la ligne de commande à lancer.
         */
        public function generateCommandLine();
    
        /**
         * Vérification que les prérequis pour lancer la commande sont réunis.
         *
         * @throws \UnicaenShell\Command\Exception\ShellCommandException En cas de problème
         */
        public function checkRequirements();
    
        /**
         * Retourne la ligne de commande générée si {@see generateCommandLine()} a été appelée auparavant.
         */
        public function getCommandLine(): string;
    
        /**
         * Créée le résultat de l'exécution de cette commande.
         */
        public function createResult(array $output, int $returnCode): ShellCommandResultInterface;
    }