Skip to content

Commit

Permalink
#74 #in_progress #comment Ajout phpdoc studen:list
Browse files Browse the repository at this point in the history
  • Loading branch information
bfoujols committed Nov 14, 2022
1 parent d07a878 commit eb7a94e
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions src/Command/ValidationStudentCommand.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
<?php
/*
* Ce fichier fait partie du cli-manage-student.
* Ce fichier fait partie du projet Studoo.
*
* (c) redbull
* (c) Benoit Foujols <Benoit.Foujols@ac-creteil.fr>
*
* Pour les informations complètes sur les droits d'auteur et la licence,
* veuillez consulter le fichier LICENSE qui a été distribué avec ce code source.
*/


namespace Studoo\Command;

use Studoo\Service\Command\CommandBanner;
Expand All @@ -19,6 +18,12 @@
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;

/**
* Commande qui liste les informations des étudiants. Celle-ci va charger les informations dans le fichier lock qui enregistre les informations post-import
*
* Commande : studoo student:list
* Argument : studoo student:list [<path>]
*/
class ValidationStudentCommand extends CommandManage
{
protected static $defaultName = 'student:list';
Expand All @@ -42,9 +47,9 @@ protected function execute(InputInterface $input, OutputInterface $output): int
$file->setPath($file->getPathCurrent());
}

// TODO mettre condition exist
$config = new FileLock($path);


self::$stdOutput->writeln([
'Path : ' . $file->getPath()
]);
Expand Down

0 comments on commit eb7a94e

Please sign in to comment.