19declare(strict_types=1);
 
   41    public function copy(
string $sourcePath, 
string $destinationPath, array $placeholders = []): void
 
   43        if (!$this->fs->has($destinationPath)) {
 
   44            $templateContents = file_get_contents($sourcePath);
 
   46            foreach ($placeholders as $placeholder => $value) {
 
   47                if (is_callable($value)) {
 
   51                $templateContents = str_replace(
'[[' . $placeholder . 
']]', $value, $templateContents);
 
static getDataDir()
get data directory (outside webspace)
 
Class ilSimpleSAMLphpConfigTemplateHandler.
 
__construct(Filesystem $fs)
 
copy(string $sourcePath, string $destinationPath, array $placeholders=[])
 
Class FlySystemFileAccessTest \Provider\FlySystem @runTestsInSeparateProcesses @preserveGlobalState d...