Toolkit

Tasks

Robo task to Replace configs/tokens in file.

phpcs:disable Generic.NamingConventions.TraitNameSuffix.Missing

Table of Contents

Methods

taskProcess()  : mixed
Process the file.
taskReplaceBlock()  : mixed
Replace block in a file.

Methods

taskProcess()

Process the file.

protected taskProcess(string $source[, string $destination = '' ]) : mixed
Parameters
$source : string

The source file to process.

$destination : string = ''

The destination file.

taskReplaceBlock()

Replace block in a file.

protected taskReplaceBlock([string $filename = '' ]) : mixed
Parameters
$filename : string = ''

The file to process.


        
On this page

Search results