Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 8305ce9

Browse files
committed
Remove unused file and readme refactor
1 parent b03ddf8 commit 8305ce9

File tree

2 files changed

+17
-35
lines changed

2 files changed

+17
-35
lines changed

‎README.md

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ DATABASE_PASSWORD=root
99
MODULE_ENABLED=true
1010
```
1111

12-
**Load the variables**
12+
## Load the variables
1313

1414
```php
1515
<?php
@@ -20,7 +20,7 @@ $absolutePathToEnvFile = __DIR__ . '/.env';
2020
(new DotEnv($absolutePathToEnvFile))->load();
2121
```
2222

23-
**Use them!**
23+
# Use them!
2424
```php
2525
/**
2626
* string(33) "mysql:host=localhost;dbname=test;"
@@ -44,4 +44,18 @@ var_dump(getenv('MODULE_ENABLED'));
4444

4545
Ideal for small project
4646

47-
Simple and easy!
47+
Simple and easy!
48+
49+
# Processors
50+
51+
Also the variables are parsed according to the configuration passed as parameter to the constructor. The available processors are:
52+
53+
## BooleanProcessor
54+
55+
``VARIABLE=false`` will be processed to ```bool(false)```
56+
57+
NOTE: ``VARIABLE="true"`` will be processed to ```string(4) "true"```
58+
59+
## QuotedProcessor
60+
61+
``VARIABLE="anything"`` will be processed to ```string(8) "anything"```

‎src/Option.php

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /