\Brickrouge\HelpersPublishAssets

Publish assets to a destination directory.

Summary

Methods
Properties
Constants
__construct()
__invoke()
No public properties found
No constants found
copy_recursive()
ensure_destination()
$destination
N/A
No private methods found
No private properties found
N/A

Properties

$destination

$destination : string

Type

string

Methods

__construct()

__construct(string  $destination) 

Parameters

string $destination

__invoke()

__invoke(string  $pathname) : string

Parameters

string $pathname

Returns

string

copy_recursive()

copy_recursive(string  $source, string  $destination) 

Copy file recursively when needed.

Parameters

string $source
string $destination

ensure_destination()

ensure_destination(string  $destination) 

Ensures the destination folder exists.

Parameters

string $destination