PHP 8.3.30
Preview: StringStore.php Size: 589 B
/home/getspomw/.trash/vendor/vlucas/phpdotenv/src/Store/StringStore.php

<?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;
    }
}

Directory Contents

Dirs: 1 × Files: 4

Name Size Perms Modified Actions
File DIR
- drwxrwxrwx 2025-09-17 06:53:31
Edit Download
1.64 KB lrw-rw-rw- 2025-09-17 06:53:31
Edit Download
3.10 KB lrw-rw-rw- 2025-09-17 06:53:31
Edit Download
316 B lrw-rw-rw- 2025-09-17 06:53:31
Edit Download
589 B lrw-rw-rw- 2025-09-17 06:53:31
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).