Add boilerplate code, Docker environment, Makefile etc.
This commit is contained in:
parent
1e9d351173
commit
114a67dbe4
21 changed files with 3766 additions and 0 deletions
16
src/Settings.php
Normal file
16
src/Settings.php
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace MailAccountAdmin;
|
||||
|
||||
class Settings
|
||||
{
|
||||
public function getTwigSettings(): array
|
||||
{
|
||||
$cacheDir = getenv('TWIG_CACHE_DIR');
|
||||
|
||||
return [
|
||||
'cache' => !empty($cacheDir) ? $cacheDir : false,
|
||||
];
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue