2024-05-07 12:17:25 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace Dotenv\Repository\Adapter;
|
|
|
|
|
|
|
|
|
|
interface ReaderInterface extends AvailabilityInterface
|
|
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* Get an environment variable, if it exists.
|
|
|
|
|
*
|
2024-05-17 12:24:19 +00:00
|
|
|
* @param non-empty-string $name
|
2024-05-07 12:17:25 +02:00
|
|
|
*
|
|
|
|
|
* @return \PhpOption\Option<string|null>
|
|
|
|
|
*/
|
|
|
|
|
public function get($name);
|
|
|
|
|
}
|