PHP Class PhpSchool\LearnYouPhp\Exercise\DatabaseRead

Author: Michael Woodawrd ([email protected])
Author: Aydin Hassan ([email protected])
Inheritance: extends PhpSchool\PhpWorkshop\Exercise\AbstractExercise, implements PhpSchool\PhpWorkshop\Exercise\ExerciseInterface, implements PhpSchool\PhpWorkshop\ExerciseCheck\DatabaseExerciseCheck, implements PhpSchool\PhpWorkshop\Exercise\CliExercise
Afficher le fichier Open project: php-school/learn-you-php Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( Generator $faker )
configure ( PhpSchool\PhpWorkshop\ExerciseDispatcher $dispatcher )
getArgs ( ) : array
getDescription ( ) : string
getName ( ) : string
getType ( ) : PhpSchool\PhpWorkshop\Exercise\ExerciseType
seed ( PDO $db ) : void
verify ( PDO $db ) : boolean

Method Details

__construct() public méthode

public __construct ( Generator $faker )
$faker Faker\Generator

configure() public méthode

public configure ( PhpSchool\PhpWorkshop\ExerciseDispatcher $dispatcher )
$dispatcher PhpSchool\PhpWorkshop\ExerciseDispatcher

getArgs() public méthode

public getArgs ( ) : array
Résultat array

getDescription() public méthode

public getDescription ( ) : string
Résultat string

getName() public méthode

public getName ( ) : string
Résultat string

getType() public méthode

public getType ( ) : PhpSchool\PhpWorkshop\Exercise\ExerciseType
Résultat PhpSchool\PhpWorkshop\Exercise\ExerciseType

seed() public méthode

public seed ( PDO $db ) : void
$db PDO
Résultat void

verify() public méthode

public verify ( PDO $db ) : boolean
$db PDO
Résultat boolean