-
Notifications
You must be signed in to change notification settings - Fork 100
Expand file tree
/
Copy pathOption.php
More file actions
57 lines (54 loc) · 2.42 KB
/
Copy pathOption.php
File metadata and controls
57 lines (54 loc) · 2.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?php
/*
* This file is part of the EasyDeploy project.
*
* (c) Javier Eguiluz <javier.eguiluz@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace EasyCorp\Bundle\EasyDeployBundle\Configuration;
/**
* It defines the names of the configuration options for all deployers to avoid
* using "magic strings" in the application. It's common to define PHP constants
* in uppercase, but these are in lowercase because of how deployers are config.
* Configuration uses autocompletion based on methods named like the options
* (e.g. ->binDir() configures the $bindDir option). Using uppercase would
* create ugly method names (e.g. ->BIN_DIR()).
*/
final class Option
{
public const binDir = 'binDir';
public const cacheDir = 'cacheDir';
public const composerInstallFlags = 'composerInstallFlags';
public const composerOptimizeFlags = 'composerOptimizeFlags';
public const configDir = 'configDir';
public const consoleBinaryPath = 'consoleBinaryPath';
public const context = 'context';
public const controllersToRemove = 'controllersToRemove';
public const deployDir = 'deployDir';
public const dumpAsseticAssets = 'dumpAsseticAssets';
public const installWebAssets = 'installWebAssets';
public const keepReleases = 'keepReleases';
public const logDir = 'logDir';
public const permissionMethod = 'permissionMethod';
public const permissionMode = 'permissionMode';
public const permissionUser = 'permissionUser';
public const permissionGroup = 'permissionGroup';
public const remotePhpBinaryPath = 'remotePhpBinaryPath';
public const remoteComposerBinaryPath = 'remoteComposerBinaryPath';
public const repositoryBranch = 'repositoryBranch';
public const repositoryUrl = 'repositoryUrl';
public const resetOpCacheFor = 'resetOpCacheFor';
public const servers = 'servers';
public const sharedFiles = 'sharedFiles';
public const sharedDirs = 'sharedDirs';
public const srcDir = 'srcDir';
public const symfonyEnvironment = 'symfonyEnvironment';
public const templatesDir = 'templatesDir';
public const updateRemoteComposerBinary = 'updateRemoteComposerBinary';
public const useSshAgentForwarding = 'useSshAgentForwarding';
public const warmupCache = 'warmupCache';
public const webDir = 'webDir';
public const writableDirs = 'writableDirs';
}