class EmpireThemeInstallAssetsCommand extends AbstractAssetsDumpCommand

Class EmpireThemeInstallAssetsCommand - installs frontend theme web assets under a public web directory

Traits

Trait LogCommandTrait - contains logic for formatting log message

Properties

protected AssetFactory $factory from AbstractAssetsDumpCommand
protected Parser $parser from AbstractAssetsDumpCommand
protected $basePath from AbstractAssetsDumpCommand
Logger $logger from LogCommandTrait

Methods

initialize(InputInterface $input, OutputInterface $stdout)

No description

dumpAssets(string $filePath, OutputInterface $output)

Dump assets

string
getLogMessage(string $message)

Format log message

configure()

{@inheritdoc}

execute(InputInterface $input, OutputInterface $output)

Installs frontend theme web assets under a public web directory {@inheritdoc}

Details

protected initialize(InputInterface $input, OutputInterface $stdout)

Parameters

InputInterface $input
OutputInterface $stdout

protected dumpAssets(string $filePath, OutputInterface $output)

Dump assets

Parameters

string $filePath
OutputInterface $output

in LogCommandTrait at line 31
string getLogMessage(string $message)

Format log message

Parameters

string $message

Return Value

string

at line 36
protected configure()

{@inheritdoc}

at line 57
protected execute(InputInterface $input, OutputInterface $output)

Installs frontend theme web assets under a public web directory {@inheritdoc}

Parameters

InputInterface $input
OutputInterface $output

Exceptions

InvalidArgumentException When the target directory does not exist or symlink cannot be used
Exception