Skip to content

Commit 3421f58

Browse files
authored
Update README.md
1 parent be45ffb commit 3421f58

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This also standardizes some environment terminology between hosting providers so
1717
### Getting an environment variable
1818

1919
```php
20-
use Davereid\DrupalEnvironment\Environment;
20+
use DrupalEnvironment\Environment;
2121
$value = Environment::get('VARIABLE_NAME');
2222
```
2323

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

2828
```php
29-
use Davereid\DrupalEnvironment\Environment;
29+
use DrupalEnvironment\Environment;
3030

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

4242
```php
43-
use Davereid\DrupalEnvironment\Environment;
43+
use DrupalEnvironment\Environment;
4444

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

6060
```php
61-
use Davereid\DrupalEnvironment\Environment;
61+
use DrupalEnvironment\Environment;
6262

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

7171
```php
72-
use Davereid\DrupalEnvironment\Environment;
72+
use DrupalEnvironment\Environment;
7373

7474
if (Environment::isProduction()) {
7575
// Set some production environment settings overrides.

0 commit comments

Comments
 (0)