class EmpirePluginsInstallAssetsCommand extends AbstractAssetsDumpCommand

Class EmpirePluginsInstallAssetsCommand - installs plugin 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 plugin 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 38
protected configure()

{@inheritdoc}

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

Installs plugin 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