PHP 클래스 PhpCsFixer\Cache\FileCacheManager
Cache is supported only for phar version and version installed via composer.
File will be processed by PHP CS Fixer only if any of the following conditions is fulfilled:
- cache is corrupt
- fixer version changed
- rules changed
- file is new
- file changed
파일 보기
프로젝트 열기: friendsofphp/php-cs-fixer
1 사용 예제들
공개 메소드들
메소드 |
설명 |
|
__construct ( PhpCsFixer\Cache\FileHandlerInterface $handler, PhpCsFixer\Cache\SignatureInterface $signature, boolean $isDryRun = false, PhpCsFixer\Cache\DirectoryInterface $cacheDirectory = null ) |
|
|
__destruct ( ) |
|
|
needFixing ( $file, $fileContent ) |
|
|
setFile ( $file, $fileContent ) |
|
|
비공개 메소드들
메소드 상세
public __construct ( PhpCsFixer\Cache\FileHandlerInterface $handler, PhpCsFixer\Cache\SignatureInterface $signature, boolean $isDryRun = false, PhpCsFixer\Cache\DirectoryInterface $cacheDirectory = null ) |
$handler |
PhpCsFixer\Cache\FileHandlerInterface |
|
$signature |
PhpCsFixer\Cache\SignatureInterface |
|
$isDryRun |
boolean |
|
$cacheDirectory |
PhpCsFixer\Cache\DirectoryInterface |
|
public setFile ( $file, $fileContent ) |