-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* STAR-57 - list for front * STAR-57 - swagger + tests * STAR-57 - throw * Update src/Http/Requests/QuestionnaireFrontAnswerRequest.php Co-authored-by: Paweł Chołaj <[email protected]> * Update src/Repository/QuestionnaireRepository.php Co-authored-by: Paweł Chołaj <[email protected]> * STAR-57 - CR * STAR-57 - CR Co-authored-by: KD <do> Co-authored-by: Paweł Chołaj <[email protected]>
- Loading branch information
1 parent
b965244
commit b552a4c
Showing
25 changed files
with
353 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
namespace EscolaLms\Questionnaire\Exceptions; | ||
|
||
use Exception; | ||
|
||
class QuestionCanNotDeleteException extends Exception | ||
{ | ||
public function __construct(string $questionId) | ||
{ | ||
parent::__construct(__('Question :id can not be delete', ['id' => $questionId])); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?php | ||
|
||
namespace EscolaLms\Questionnaire\Exceptions; | ||
|
||
use Exception; | ||
|
||
class QuestionnaireCanNotDeleteException extends Exception | ||
{ | ||
public function __construct(string $questionnaireId) | ||
{ | ||
parent::__construct(__('Questionnaire :id can not be delete', ['id' => $questionnaireId])); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.