<?php declare(strict_types=1); namespace Dotenv\Store; final class StringStore implements StoreInterface { /** * The file content. * * @var string */ private $content; /** * Create a new string store instance. * * @param string $content * * @return void */ public function __construct(string $content) { $this->content = $content; } /** * Read the content of the environment file(s). * * @return string */ public function read() { return $this->content; } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
File | Folder | 0755 |
|
|
FileStore.php | File | 1.64 KB | 0644 |
|
StoreBuilder.php | File | 3.1 KB | 0644 |
|
StoreInterface.php | File | 316 B | 0644 |
|
StringStore.php | File | 589 B | 0644 |
|