Метод | Описание | |
---|---|---|
__construct ( |
||
configure ( PhpSchool\PhpWorkshop\ExerciseDispatcher $dispatcher ) | ||
getDescription ( ) : string | ||
getName ( ) : string | ||
getRequests ( ) : RequestInterface[] | ||
getRequiredPackages ( ) : array | ||
getSolution ( ) : PhpSchool\PhpWorkshop\Solution\SolutionInterface | ||
getType ( ) : PhpSchool\PhpWorkshop\Exercise\ExerciseType |
Метод | Описание | |
---|---|---|
newApiRequest ( string $endpoint ) : RequestInterface |
public configure ( PhpSchool\PhpWorkshop\ExerciseDispatcher $dispatcher ) | ||
$dispatcher | PhpSchool\PhpWorkshop\ExerciseDispatcher |
public getRequests ( ) : RequestInterface[] | ||
Результат | RequestInterface[] |
public getSolution ( ) : PhpSchool\PhpWorkshop\Solution\SolutionInterface | ||
Результат | PhpSchool\PhpWorkshop\Solution\SolutionInterface |
public getType ( ) : PhpSchool\PhpWorkshop\Exercise\ExerciseType | ||
Результат | PhpSchool\PhpWorkshop\Exercise\ExerciseType |