Skip to content
Snippets Groups Projects
Select Git revision
  • e6d5c92bfc5595b54b2860b51de3e5c699abed55
  • master default protected
  • b24
  • alc-scindage-donnees-pj
  • ll-workflow
  • FJ_LL_Tbl_Contrat
  • alc-docker-node
  • ll-apiplatform
  • php84
  • ll-rgpd
  • b23
  • alc-filtre-type-intervenant
  • ll-sans-mdb5
  • formules-ancienne-infra
  • ll-formules
  • alc-intervenant-dmep
  • ll-suppr-v_vol-s
  • b20
  • ll-postgresql
  • b23.0.1
  • b22
  • 24.8
  • 24.7
  • 24.6
  • 24.5
  • 24.4
  • 24.3
  • 24.2
  • 24.1
  • 24.0
  • 23.15
  • 24.0-beta19
  • 24.0-beta18
  • 24.0-beta17
  • 24.0-beta16
  • 24.0-beta15
  • 24.0-beta14
  • 24.0-beta13
  • 23.14
  • 24.0-beta12
  • 24.0-beta11
41 results

DataGen.php

Blame
  • 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;
    }