FolderUtil
in package
Table of Contents
Properties
- $kernel : KernelInterface
- $symlinksCommand : SymlinksCommand
- $webDir : string
Methods
- __construct() : mixed
- FolderUtil constructor.
- createPublicFolder() : void
- Creates an symlink to the given folder in the web director, if not already exist.
Properties
$kernel
private
KernelInterface
$kernel
$symlinksCommand
private
SymlinksCommand
$symlinksCommand
$webDir
private
string
$webDir
Methods
__construct()
FolderUtil constructor.
public
__construct(string $webDir, KernelInterface $kernel, SymlinksCommand $symlinksCommand) : mixed
Parameters
- $webDir : string
- $kernel : KernelInterface
- $symlinksCommand : SymlinksCommand
createPublicFolder()
Creates an symlink to the given folder in the web director, if not already exist.
public
createPublicFolder(string $folderPath) : void
Parameters
- $folderPath : string