Вход Регистрация
Файл: vendor/vlucas/phpdotenv/src/Store/StringStore.php
Строк: 42
<?php

declare(strict_types=1);

namespace 
DotenvStore;

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;
    }
}
Онлайн: 3
Реклама