flatrr/src/Config/ConfigInterface.php

13 lines
476 B
PHP
Raw Normal View History

2018-08-17 21:02:50 +00:00
<?php
2018-08-17 22:09:45 +00:00
/* Flatrr | https://gitlab.com/byjoby/flatrr | MIT License */
namespace Flatrr\Config;
2018-08-17 21:02:50 +00:00
interface ConfigInterface extends \ArrayAccess
{
public function readFile($filename, string $name = null, bool $overwrite = false);
public function json($raw = false) : string;
public function yaml($raw = false) : string;
public function get(string $name = null, bool $raw = false);
public function merge($value, string $name = null, bool $overwrite = false);
}