PharData::setStub

Dummy function (Phar::setStub is not valid for PharData)

&reftitle.description; public `bool` `PharData::setStub` `string` `stub` `int` `len`-1

Non-executable tar/zip archives cannot have a stub, so this method simply throws an exception.

&reftitle.parameters;

`stub`

- A string or an open stream handle to use as the executable stub for this phar archive. This parameter is ignored.

`len`

&reftitle.returnvalues;

&return.success;

&reftitle.errors;

Throws `PharException` on all method calls

&reftitle.seealso;

- `Phar::setStub`