Skip to content

Latest commit

 

History

History
31 lines (16 loc) · 778 Bytes

PharBundler.md

File metadata and controls

31 lines (16 loc) · 778 Bytes

Libgossamer API Reference - Release - Bundler - PharBundler

  • Fully Qualified Class Name: ParagonIE\Gossamer\Release\Bundler\PharBundler

This class inherits all methods from AbstractBundler.

Methods

setDefaultStubFilename()

Sets the filename for the default stub in the PHP Archive.

Arguments:

  1. string - Filename (e.g. index.php)

Returns this object.

bundle()

See ReleaseBundlerInterface::bundle().

Warning: This method cannot be called unless phar.readonly = 0 in your php.ini configuration.

Arguments:

  1. string - Output file path

Returns TRUE on success and FALSE on failure.

This creates a Phar archive at the destination output file.