2021-06-11 11:03:31 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
declare (strict_types=1);
|
2022-06-06 17:12:56 +00:00
|
|
|
namespace Rector\Caching\ValueObject;
|
2021-06-11 11:03:31 +00:00
|
|
|
|
|
|
|
final class CacheFilePaths
|
|
|
|
{
|
|
|
|
/**
|
2023-06-11 23:01:39 +00:00
|
|
|
* @readonly
|
2021-06-11 11:03:31 +00:00
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
private $firstDirectory;
|
|
|
|
/**
|
2023-06-11 23:01:39 +00:00
|
|
|
* @readonly
|
2021-06-11 11:03:31 +00:00
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
private $secondDirectory;
|
|
|
|
/**
|
2023-06-11 23:01:39 +00:00
|
|
|
* @readonly
|
2021-06-11 11:03:31 +00:00
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
private $filePath;
|
|
|
|
public function __construct(string $firstDirectory, string $secondDirectory, string $filePath)
|
|
|
|
{
|
|
|
|
$this->firstDirectory = $firstDirectory;
|
|
|
|
$this->secondDirectory = $secondDirectory;
|
|
|
|
$this->filePath = $filePath;
|
|
|
|
}
|
|
|
|
public function getFirstDirectory() : string
|
|
|
|
{
|
|
|
|
return $this->firstDirectory;
|
|
|
|
}
|
|
|
|
public function getSecondDirectory() : string
|
|
|
|
{
|
|
|
|
return $this->secondDirectory;
|
|
|
|
}
|
|
|
|
public function getFilePath() : string
|
|
|
|
{
|
|
|
|
return $this->filePath;
|
|
|
|
}
|
|
|
|
}
|