private getFileName ( ) : null | string | ||
return | null | string |
private function getFileName()
{
if (null === $this->cachePath || null === $this->key) {
return null;
}
if (!is_dir($this->cachePath)) {
mkdir($this->cachePath, 0777);
}
return $this->cachePath . DIRECTORY_SEPARATOR . $this->key . '.rerun';
}