PHP 클래스 PhpCsFixer\Console\ConfigurationResolver

저자: Fabien Potencier ([email protected])
저자: Katsuhiro Ogawa ([email protected])
저자: Dariusz Rumiński ([email protected])
파일 보기 프로젝트 열기: friendsofphp/php-cs-fixer 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( PhpCsFixer\ConfigInterface $config, array $options, string $cwd ) ConfigurationResolver constructor.
getCacheFile ( ) : string | null
getCacheManager ( ) : PhpCsFixer\Cache\CacheManagerInterface
getConfig ( ) : PhpCsFixer\ConfigInterface Returns config instance.
getConfigFile ( ) : null | string Returns config file path.
getDiffer ( ) : PhpCsFixer\Differ\DifferInterface
getFinder ( )
getFixers ( ) : PhpCsFixer\Fixer\FixerInterface[] Returns fixers.
getLinter ( ) : PhpCsFixer\Linter\LinterInterface
getPath ( ) : string[] Returns path.
getProgress ( ) : boolean Returns progress flag.
getReporter ( ) : PhpCsFixer\Report\ReporterInterface
getRiskyAllowed ( ) : boolean
getRules ( ) : array Returns rules.
getUsingCache ( ) : boolean
isDryRun ( ) : boolean Returns dry-run flag.

비공개 메소드들

메소드 설명
computeConfigFiles ( ) : string[] Compute file candidates for config file.
getFormat ( ) : string
getRuleSet ( )
isStdIn ( ) : boolean
iterableToTraversable ( iterable $iterable ) : Traversable
parseRules ( ) : array Compute rules.
resolveFinder ( ) Apply path on config instance.
setOption ( string $name, mixed $value ) Set option that will be resolved.

메소드 상세

__construct() 공개 메소드

ConfigurationResolver constructor.
public __construct ( PhpCsFixer\ConfigInterface $config, array $options, string $cwd )
$config PhpCsFixer\ConfigInterface
$options array
$cwd string

getCacheFile() 공개 메소드

public getCacheFile ( ) : string | null
리턴 string | null

getCacheManager() 공개 메소드

public getCacheManager ( ) : PhpCsFixer\Cache\CacheManagerInterface
리턴 PhpCsFixer\Cache\CacheManagerInterface

getConfig() 공개 메소드

Returns config instance.
public getConfig ( ) : PhpCsFixer\ConfigInterface
리턴 PhpCsFixer\ConfigInterface

getConfigFile() 공개 메소드

Returns config file path.
public getConfigFile ( ) : null | string
리턴 null | string

getDiffer() 공개 메소드

public getDiffer ( ) : PhpCsFixer\Differ\DifferInterface
리턴 PhpCsFixer\Differ\DifferInterface

getFinder() 공개 메소드

public getFinder ( )

getFixers() 공개 메소드

Returns fixers.
public getFixers ( ) : PhpCsFixer\Fixer\FixerInterface[]
리턴 PhpCsFixer\Fixer\FixerInterface[] An array of FixerInterface

getLinter() 공개 메소드

public getLinter ( ) : PhpCsFixer\Linter\LinterInterface
리턴 PhpCsFixer\Linter\LinterInterface

getPath() 공개 메소드

Returns path.
public getPath ( ) : string[]
리턴 string[]

getProgress() 공개 메소드

Returns progress flag.
public getProgress ( ) : boolean
리턴 boolean

getReporter() 공개 메소드

public getReporter ( ) : PhpCsFixer\Report\ReporterInterface
리턴 PhpCsFixer\Report\ReporterInterface

getRiskyAllowed() 공개 메소드

public getRiskyAllowed ( ) : boolean
리턴 boolean

getRules() 공개 메소드

Returns rules.
public getRules ( ) : array
리턴 array

getUsingCache() 공개 메소드

public getUsingCache ( ) : boolean
리턴 boolean

isDryRun() 공개 메소드

Returns dry-run flag.
public isDryRun ( ) : boolean
리턴 boolean