PHP Class Sstalle\php7cc\PathChecker

Show file Open project: sstalle/php7cc Class Usage Examples

Protected Properties

Property Type Description
$contextChecker Sstalle\php7cc\ContextChecker
$resultPrinter Sstalle\php7cc\ResultPrinterInterface

Public Methods

Method Description
__construct ( Sstalle\php7cc\ContextChecker $fileChecker, Sstalle\php7cc\ResultPrinterInterface $resultPrinter )
check ( Traversable $traversablePaths, boolean $useRelativePaths )

Protected Methods

Method Description
checkFile ( Sstalle\php7cc\CompatibilityViolation\CheckMetadata $checkMetadata, Symfony\Component\Finder\SplFileInfo $fileInfo, boolean $useRelativePaths )

Method Details

__construct() public method

public __construct ( Sstalle\php7cc\ContextChecker $fileChecker, Sstalle\php7cc\ResultPrinterInterface $resultPrinter )
$fileChecker Sstalle\php7cc\ContextChecker
$resultPrinter Sstalle\php7cc\ResultPrinterInterface

check() public method

public check ( Traversable $traversablePaths, boolean $useRelativePaths )
$traversablePaths Traversable
$useRelativePaths boolean

checkFile() protected method

protected checkFile ( Sstalle\php7cc\CompatibilityViolation\CheckMetadata $checkMetadata, Symfony\Component\Finder\SplFileInfo $fileInfo, boolean $useRelativePaths )
$checkMetadata Sstalle\php7cc\CompatibilityViolation\CheckMetadata
$fileInfo Symfony\Component\Finder\SplFileInfo
$useRelativePaths boolean

Property Details

$contextChecker protected property

protected ContextChecker,Sstalle\php7cc $contextChecker
return Sstalle\php7cc\ContextChecker

$resultPrinter protected property

protected ResultPrinterInterface,Sstalle\php7cc $resultPrinter
return Sstalle\php7cc\ResultPrinterInterface