Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
* develop:
  add Environment::all()
  • Loading branch information
Baptouuuu committed Apr 29, 2023
2 parents 7d784de + 79d9c2b commit 917dfe0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 1.2.0 - 2023-04-29

### Added

- `Innmind\Framework\Environment::all()`

## 1.1.0 - 2023-02-26

### Added
Expand Down
8 changes: 8 additions & 0 deletions src/Environment.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,12 @@ public function maybe(string $key): Maybe
{
return $this->variables->get($key);
}

/**
* @return Map<string, string>
*/
public function all(): Map
{
return $this->variables;
}
}

0 comments on commit 917dfe0

Please sign in to comment.