- Fix: Notifiable-Trait zum User-Model hinzugefuegt (behebt notify()-500er) - Installer: SMTP-Verbindungstest mit EsmtpTransport + Ueberspringen-Link - Admin: Neuer E-Mail-Tab mit SMTP-Konfiguration + Verbindungstest - Admin: Lazy Quill-Initialisierung (nur sichtbare Locale wird geladen) - Uebersetzungen: 17 neue Mail-Keys in allen 6 Sprachen Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
38 lines
589 B
PHP
Executable File
38 lines
589 B
PHP
Executable File
<?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;
|
|
}
|
|
}
|