Documentation

Dispatcher
in package

Executes an algorithm

Table of Contents

dispatch()  : bool|FileNotFound
Execute the algorithm
getContents()  : string|FileNotFound
Execute the algorithm to return the contents

Methods

dispatch()

Execute the algorithm

public dispatch(Closure $algo, string ...$arg) : bool|FileNotFound
Parameters
$algo : Closure
$arg : string
Return values
bool|FileNotFound

getContents()

Execute the algorithm to return the contents

public getContents(Closure $algo, string ...$arg) : string|FileNotFound
Parameters
$algo : Closure
$arg : string
Return values
string|FileNotFound

Search results