ufm
1<?php declare(strict_types=1);
2
3namespace Upside\Ufm\Config;
4
5use Upside\Ufm\Config\Interfaces\PathConfigInterface;
6
7readonly class PathConfig implements PathConfigInterface
8{
9protected string $project_dir;
10
11public function __construct(string $project_dir)
12{
13$this->project_dir = $project_dir;
14}
15
16public function project_dir(): string
17{
18return $this->project_dir;
19}
20
21public function log_dir(): string
22{
23return $this->project_dir . '/var/logs';
24}
25
26public function cache_dir(): string
27{
28return $this->project_dir . '/var/cache';
29}
30}
31