Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
davereid authored Jun 27, 2023
1 parent be45ffb commit 3421f58
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ This also standardizes some environment terminology between hosting providers so
### Getting an environment variable

```php
use Davereid\DrupalEnvironment\Environment;
use DrupalEnvironment\Environment;
$value = Environment::get('VARIABLE_NAME');
```

Expand All @@ -26,7 +26,7 @@ The advantages of using this is the results are statically cached.
### Testing for Drupal hosting or CI environments

```php
use Davereid\DrupalEnvironment\Environment;
use DrupalEnvironment\Environment;

// These all return a boolean true/false
Environment::isPantheon();
Expand All @@ -40,7 +40,7 @@ Environment::isCircleCi();
### Testing for specific environments

```php
use Davereid\DrupalEnvironment\Environment;
use DrupalEnvironment\Environment;

// This gets the specific environment string.
$environment = Environment::getEnvironment();
Expand All @@ -58,7 +58,7 @@ Environment::isLando();
### Testing for executable commands

```php
use Davereid\DrupalEnvironment\Environment;
use DrupalEnvironment\Environment;

// This returns a boolean true/false:
Environment::commandExists('composer');
Expand All @@ -69,7 +69,7 @@ Environment::commandExists('composer');
### settings.php

```php
use Davereid\DrupalEnvironment\Environment;
use DrupalEnvironment\Environment;

if (Environment::isProduction()) {
// Set some production environment settings overrides.
Expand Down

0 comments on commit 3421f58

Please sign in to comment.