PHP Класс PhpBrew\PatchKit\Patch

The patch rules targets some files and replaces some contents with their own implementation.
Показать файл Открыть проект

Открытые методы

Метод Описание
apply ( PhpBrew\Buildable $build, CLIFramework\Logger $logger ) Each patch may implement its own logic to patch the file.
desc ( ) : string
match ( PhpBrew\Buildable $build, CLIFramework\Logger $logger )
rules ( ) : array rules method returns the array of PatchRule class.

Описание методов

apply() публичный Метод

Each patch may implement its own logic to patch the file.
public apply ( PhpBrew\Buildable $build, CLIFramework\Logger $logger )
$build PhpBrew\Buildable
$logger CLIFramework\Logger

desc() абстрактный публичный Метод

abstract public desc ( ) : string
Результат string the description for the patch.

match() абстрактный публичный Метод

abstract public match ( PhpBrew\Buildable $build, CLIFramework\Logger $logger )
$build PhpBrew\Buildable
$logger CLIFramework\Logger

rules() абстрактный публичный Метод

rules method returns the array of PatchRule class.
abstract public rules ( ) : array
Результат array