PhpCsFixer\Cache\FileCacheManager::__construct PHP Method

__construct() public method

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 function __construct(FileHandlerInterface $handler, SignatureInterface $signature, $isDryRun = false, DirectoryInterface $cacheDirectory = null)
    {
        $this->handler = $handler;
        $this->signature = $signature;
        $this->isDryRun = $isDryRun;
        $this->cacheDirectory = $cacheDirectory ?: new Directory(dirname(realpath($handler->getFile())));
        $this->readCache();
    }