2024-05-07 12:17:25 +02:00
|
|
|
<?php
|
|
|
|
|
|
2024-08-13 13:44:16 +00:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
2024-05-07 12:17:25 +02:00
|
|
|
namespace Dotenv\Loader;
|
|
|
|
|
|
|
|
|
|
use Dotenv\Repository\RepositoryInterface;
|
|
|
|
|
|
|
|
|
|
interface LoaderInterface
|
|
|
|
|
{
|
|
|
|
|
/**
|
2024-08-13 13:44:16 +00:00
|
|
|
* Load the given entries into the repository.
|
2024-05-07 12:17:25 +02:00
|
|
|
*
|
|
|
|
|
* @param \Dotenv\Repository\RepositoryInterface $repository
|
2024-08-13 13:44:16 +00:00
|
|
|
* @param \Dotenv\Parser\Entry[] $entries
|
2024-05-07 12:17:25 +02:00
|
|
|
*
|
|
|
|
|
* @return array<string,string|null>
|
|
|
|
|
*/
|
2024-08-13 13:44:16 +00:00
|
|
|
public function load(RepositoryInterface $repository, array $entries);
|
2024-05-07 12:17:25 +02:00
|
|
|
}
|