Contao Utils Bundle

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

$symlinksCommand

private SymlinksCommand $symlinksCommand

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
Tags
throws
Exception

        
On this page

Search results