mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-20 01:52:22 +00:00
13 lines
353 B
PHP
13 lines
353 B
PHP
<?php
|
|
|
|
declare (strict_types=1);
|
|
namespace Rector\RectorInstaller;
|
|
|
|
interface Filesystem
|
|
{
|
|
public function isFile(string $pathToFile) : bool;
|
|
public function hashFile(string $pathToFile) : string;
|
|
public function hashEquals(string $hash, string $content) : bool;
|
|
public function writeFile(string $pathToFile, string $contents) : void;
|
|
}
|