Show sourcecode
The following files exists in this folder. Click to view.
Webserver1/Ovningar/Slutprojekt/vendor/vlucas/phpdotenv/src/Repository/Adapter/
AdapterInterface.php
ApacheAdapter.php
ArrayAdapter.php
EnvConstAdapter.php
GuardedWriter.php
ImmutableWriter.php
MultiReader.php
MultiWriter.php
PutenvAdapter.php
ReaderInterface.php
ReplacingWriter.php
ServerConstAdapter.php
WriterInterface.php
WriterInterface.php
28 lines ASCII Unix (LF)
<?php
declare(strict_types=1);
namespace Dotenv\Repository\Adapter;
interface WriterInterface
{
/**
* Write to an environment variable, if possible.
*
* @param non-empty-string $name
* @param string $value
*
* @return bool
*/
public function write(string $name, string $value);
/**
* Delete an environment variable, if possible.
*
* @param non-empty-string $name
*
* @return bool
*/
public function delete(string $name);
}