PHP Class PhpSchool\LearnYouPhp\Exercise\ConcernedAboutSeparation

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

Méthodes publiques

Méthode Description
__construct ( Symfony\Component\Filesystem\Filesystem $filesystem, Generator $faker, PhpParser\Parser $parser )
check ( PhpSchool\PhpWorkshop\Input\Input $input ) : PhpSchool\PhpWorkshop\Result\ResultInterface
check ( string $fileName ) : PhpSchool\PhpWorkshop\Result\ResultInterface
getArgs ( ) : array
getDescription ( ) : string
getName ( ) : string
getSolution ( ) : PhpSchool\PhpWorkshop\Solution\SolutionInterface
getType ( ) : PhpSchool\PhpWorkshop\Exercise\ExerciseType
tearDown ( ) : null

Method Details

__construct() public méthode

public __construct ( Symfony\Component\Filesystem\Filesystem $filesystem, Generator $faker, PhpParser\Parser $parser )
$filesystem Symfony\Component\Filesystem\Filesystem
$faker Faker\Generator
$parser PhpParser\Parser

check() public méthode

public check ( PhpSchool\PhpWorkshop\Input\Input $input ) : PhpSchool\PhpWorkshop\Result\ResultInterface
$input PhpSchool\PhpWorkshop\Input\Input
Résultat PhpSchool\PhpWorkshop\Result\ResultInterface

check() public méthode

public check ( string $fileName ) : PhpSchool\PhpWorkshop\Result\ResultInterface
$fileName string
Résultat PhpSchool\PhpWorkshop\Result\ResultInterface

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

getSolution() public méthode

public getSolution ( ) : PhpSchool\PhpWorkshop\Solution\SolutionInterface
Résultat PhpSchool\PhpWorkshop\Solution\SolutionInterface

getType() public méthode

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

tearDown() public méthode

public tearDown ( ) : null
Résultat null