PHP Class JiraRestApi\Configuration\DotEnvConfiguration

Inheritance: extends AbstractConfiguration
Datei anzeigen Open project: lesstif/php-jira-rest-client Class Usage Examples

Public Methods

Method Description
__construct ( string $path = '.' )
endsWith ( string $haystack, string | array $needles ) : boolean Determine if a given string ends with a given substring.
startsWith ( string $haystack, string | array $needles ) : boolean Determine if a given string starts with a given substring.

Private Methods

Method Description
env ( string $key, mixed $default = null ) : mixed Gets the value of an environment variable. Supports boolean, empty and null.

Method Details

__construct() public method

public __construct ( string $path = '.' )
$path string

endsWith() public method

Determine if a given string ends with a given substring.
public endsWith ( string $haystack, string | array $needles ) : boolean
$haystack string
$needles string | array
return boolean

startsWith() public method

Determine if a given string starts with a given substring.
public startsWith ( string $haystack, string | array $needles ) : boolean
$haystack string
$needles string | array
return boolean