Loading config/v1/schema/inscription/doctorant-api-v1.yaml +11 −1 Original line number Diff line number Diff line Loading @@ -353,7 +353,8 @@ components: required: - code - libelle - anneeUniversitaire - dateDebut - dateFin properties: code: type: string Loading @@ -362,8 +363,17 @@ components: libelle: type: string description: Le libellé de la période de mise en œuvre. dateDebut: type: string format: date description: date de début de validité au format AAAA-MM-JJ dateFin: type: string format: date description: date de fin de validité au format AAAA-MM-JJ anneeUniversitaire: type: integer nullable: true description: L'année universitaire associée à la période au format AAAA. BourseOuAideFinanciere: Loading src/SygalApi/Module.php +1 −1 Original line number Diff line number Diff line Loading @@ -25,7 +25,7 @@ class Module implements ApiToolsProviderInterface, BootstrapListenerInterface public function getConfig(): array { $configDir = __DIR__ . '/../config'; $configDir = __DIR__ . '/../../config'; return ArrayUtils::merge( include $configDir . '/module.config.php', Loading src/SygalApi/V1/Extractor/AbstractExtractor.php +2 −2 Original line number Diff line number Diff line Loading @@ -18,10 +18,10 @@ abstract class AbstractExtractor implements ExtractionInterface ]; } protected function extractSourceId(stdClass $object) public function extractSourceId(stdClass $object) { return $object->instancePegase; } abstract protected function extractSourceCode(stdClass $object): string; abstract public function extractSourceCode(stdClass $object): string; } No newline at end of file src/SygalApi/V1/Rest/Doctorant/Extractor/DoctorantExtractor.php +1 −1 Original line number Diff line number Diff line Loading @@ -23,7 +23,7 @@ class DoctorantExtractor extends AbstractExtractor ]); } protected function extractSourceCode(stdClass $object): string public function extractSourceCode(stdClass $object): string { Assert::propertyExists($object, 'INE', "Clé %s introuvable dans les données apprenant"); Loading src/SygalApi/V1/Rest/Doctorant/Extractor/IndividuExtractor.php +1 −1 Original line number Diff line number Diff line Loading @@ -61,7 +61,7 @@ class IndividuExtractor extends AbstractExtractor ]); } protected function extractSourceCode(stdClass $object): string public function extractSourceCode(stdClass $object): string { Assert::propertyExists($object, 'INE', "Clé %s introuvable dans les données apprenant"); Loading Loading
config/v1/schema/inscription/doctorant-api-v1.yaml +11 −1 Original line number Diff line number Diff line Loading @@ -353,7 +353,8 @@ components: required: - code - libelle - anneeUniversitaire - dateDebut - dateFin properties: code: type: string Loading @@ -362,8 +363,17 @@ components: libelle: type: string description: Le libellé de la période de mise en œuvre. dateDebut: type: string format: date description: date de début de validité au format AAAA-MM-JJ dateFin: type: string format: date description: date de fin de validité au format AAAA-MM-JJ anneeUniversitaire: type: integer nullable: true description: L'année universitaire associée à la période au format AAAA. BourseOuAideFinanciere: Loading
src/SygalApi/Module.php +1 −1 Original line number Diff line number Diff line Loading @@ -25,7 +25,7 @@ class Module implements ApiToolsProviderInterface, BootstrapListenerInterface public function getConfig(): array { $configDir = __DIR__ . '/../config'; $configDir = __DIR__ . '/../../config'; return ArrayUtils::merge( include $configDir . '/module.config.php', Loading
src/SygalApi/V1/Extractor/AbstractExtractor.php +2 −2 Original line number Diff line number Diff line Loading @@ -18,10 +18,10 @@ abstract class AbstractExtractor implements ExtractionInterface ]; } protected function extractSourceId(stdClass $object) public function extractSourceId(stdClass $object) { return $object->instancePegase; } abstract protected function extractSourceCode(stdClass $object): string; abstract public function extractSourceCode(stdClass $object): string; } No newline at end of file
src/SygalApi/V1/Rest/Doctorant/Extractor/DoctorantExtractor.php +1 −1 Original line number Diff line number Diff line Loading @@ -23,7 +23,7 @@ class DoctorantExtractor extends AbstractExtractor ]); } protected function extractSourceCode(stdClass $object): string public function extractSourceCode(stdClass $object): string { Assert::propertyExists($object, 'INE', "Clé %s introuvable dans les données apprenant"); Loading
src/SygalApi/V1/Rest/Doctorant/Extractor/IndividuExtractor.php +1 −1 Original line number Diff line number Diff line Loading @@ -61,7 +61,7 @@ class IndividuExtractor extends AbstractExtractor ]); } protected function extractSourceCode(stdClass $object): string public function extractSourceCode(stdClass $object): string { Assert::propertyExists($object, 'INE', "Clé %s introuvable dans les données apprenant"); Loading