Download the PHP package automattic/jetpack-constants without Composer

On this page you can find all versions of the php package automattic/jetpack-constants. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

Please rate this library. Is it a good library?

All versions of jetpack-constants with dependencies

Informations about the package jetpack-constants

Jetpack Constants

A simple constant manager for Jetpack.

Testing constants is hard. Once you define a constant in PHP, it's defined. Constants Manager is an abstraction layer so that unit tests can set constants for tests.

Usage

Retrieve the value of a constant CONSTANT_NAME (returns null if it's not defined):

Set the value of a constant CONSTANT_NAME to a particular value:

Check whether a constant CONSTANT_NAME is defined:

Check whether a constant CONSTANT_NAME is truthy:

Delete the CONSTANT_NAME constant:

Delete all known constants:


Version
No informations.

The package automattic/jetpack-constants contains the following files

Loading the files please wait ....