public __construct ( array $config = [] ) | ||
$config | array | The options array, possible options are: - `'closure'`: the closure to execute for this stub. - `'args'`: the arguments required for exectuting this stub. - `'static'`: the type of call required for exectuting this stub. - `'returns'`: the returns values for this stub (used only if the `'closure'` option is missing). |