EmpireDependencyHelper
class EmpireDependencyHelper
Class EmpireDependencyHelper contains helper logic such as dependency manager, database helper
Methods
Execute command using process
Clear doctrine cache and update database schema
Execute bower install command
Execute node install command
Copies contents from $source to $destination folders (default).
No description
Removes all files from $source, optionally ignoring SVN meta-data folders (default).
Delete all files in directory
Delete directory with all subdirectories
Get file content without comments
Get Ember plugin output path
Find web path
Compile Ember application
Execute command using process
Dump assets
Get uglifyjs bin
Get uglifycss bin
Get nodejs bin
Get php bin
Details
at line 34
static mixed
runCommand(string $command, null|int $timeout = null, bool $returnOutput = false)
Execute command using process
at line 57
static
databaseSchemaUpdate()
Clear doctrine cache and update database schema
at line 68
static
installBowerPackages(string $originDir, null|OutputInterface $output = null)
Execute bower install command
at line 91
static
installNodePackages(string $originDir)
Execute node install command
at line 112
static bool
copyDirectory(string $source, string $destination)
Copies contents from $source to $destination folders (default).
at line 151
static bool
recovery(string $source, string $destination)
at line 179
static bool
deleteDirectory(string $source, bool $recursion = true)
Removes all files from $source, optionally ignoring SVN meta-data folders (default).
at line 212
static
deleteAllFilesInDirectory(string $dir)
Delete all files in directory
at line 228
static bool
delTree(string $dir)
Delete directory with all subdirectories
at line 244
static string
getStringFromFileWithoutComments(string $file)
Get file content without comments
at line 283
static bool|string
getEmberPluginOutputPath(string $dataSrcDir)
Get Ember plugin output path
at line 303
static bool|string
getPathInWeb(string $path)
Find web path
at line 327
static bool
compileEmberApp(string $originDir)
Compile Ember application
at line 353
static
runWebShopConsoleCommand(string $commandName, int $timeOut = 60)
Execute command using process
at line 377
static
assetsDump(string $projectRoot, string $cacheDir)
Dump assets
at line 402
static mixed
getUglifyJS2Bin()
Get uglifyjs bin
at line 411
static mixed
getUglifyCSSBin()
Get uglifycss bin
at line 420
static mixed
getUNodeJSBin()
Get nodejs bin
at line 431
static protected array|bool|false|null|string
getPhp(bool $includeArgs = true)
Get php bin