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
Datei anzeigen Open project: php-school/learn-you-php Class Usage Examples

Public Methods

Method 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 method

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 method

public check ( PhpSchool\PhpWorkshop\Input\Input $input ) : PhpSchool\PhpWorkshop\Result\ResultInterface
$input PhpSchool\PhpWorkshop\Input\Input
return PhpSchool\PhpWorkshop\Result\ResultInterface

check() public method

public check ( string $fileName ) : PhpSchool\PhpWorkshop\Result\ResultInterface
$fileName string
return PhpSchool\PhpWorkshop\Result\ResultInterface

getArgs() public method

public getArgs ( ) : array
return array

getDescription() public method

public getDescription ( ) : string
return string

getName() public method

public getName ( ) : string
return string

getSolution() public method

public getSolution ( ) : PhpSchool\PhpWorkshop\Solution\SolutionInterface
return PhpSchool\PhpWorkshop\Solution\SolutionInterface

getType() public method

public getType ( ) : PhpSchool\PhpWorkshop\Exercise\ExerciseType
return PhpSchool\PhpWorkshop\Exercise\ExerciseType

tearDown() public method

public tearDown ( ) : null
return null