Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Public Member Functions | Data Fields
DeployStaticOptions Class Reference

Public Member Functions

 getOptionsList ()
 

Data Fields

const AREA = 'area'
 
const EXCLUDE_AREA = 'exclude-area'
 
const THEME = 'theme'
 
const EXCLUDE_THEME = 'exclude-theme'
 
const LANGUAGE = 'language'
 
const EXCLUDE_LANGUAGE = 'exclude-language'
 
const STRATEGY = 'strategy'
 
const JOBS_AMOUNT = 'jobs'
 
const FORCE_RUN = 'force'
 
const SYMLINK_LOCALE = 'symlink-locale'
 
const NO_JAVASCRIPT = 'no-javascript'
 
const NO_CSS = 'no-css'
 
const NO_FONTS = 'no-fonts'
 
const NO_IMAGES = 'no-images'
 
const NO_HTML = 'no-html'
 
const NO_HTML_MINIFY = 'no-html-minify'
 
const NO_MISC = 'no-misc'
 
const DRY_RUN = 'dry-run'
 
const NO_LESS = 'no-less'
 
const DEFAULT_JOBS_AMOUNT = 0
 
const LANGUAGES_ARGUMENT = 'languages'
 
const CONTENT_VERSION = 'content-version'
 
const REFRESH_CONTENT_VERSION_ONLY = 'refresh-content-version-only'
 

Detailed Description

Static Content Deployment Options helper

This class contains the list options and their related constants, which can be used for static content deployment CLI command

Definition at line 18 of file DeployStaticOptions.php.

Member Function Documentation

◆ getOptionsList()

getOptionsList ( )

Deploy static command options list

Returns
array

Definition at line 144 of file DeployStaticOptions.php.

145  {
146  return array_merge($this->getBasicOptions(), $this->getSkipOptions());
147  }

Field Documentation

◆ AREA

const AREA = 'area'

Key for area option

Definition at line 23 of file DeployStaticOptions.php.

◆ CONTENT_VERSION

const CONTENT_VERSION = 'content-version'

Static content version

Definition at line 132 of file DeployStaticOptions.php.

◆ DEFAULT_JOBS_AMOUNT

const DEFAULT_JOBS_AMOUNT = 0

Default jobs amount

Definition at line 122 of file DeployStaticOptions.php.

◆ DRY_RUN

const DRY_RUN = 'dry-run'

Key for dry-run option

Deprecated:
since 2.2.0

Definition at line 110 of file DeployStaticOptions.php.

◆ EXCLUDE_AREA

const EXCLUDE_AREA = 'exclude-area'

Key for exclude area option

Definition at line 28 of file DeployStaticOptions.php.

◆ EXCLUDE_LANGUAGE

const EXCLUDE_LANGUAGE = 'exclude-language'

Key for exclude languages parameter

Definition at line 48 of file DeployStaticOptions.php.

◆ EXCLUDE_THEME

const EXCLUDE_THEME = 'exclude-theme'

Key for exclude theme option

Definition at line 38 of file DeployStaticOptions.php.

◆ FORCE_RUN

const FORCE_RUN = 'force'

Force run of static deploy

Definition at line 63 of file DeployStaticOptions.php.

◆ JOBS_AMOUNT

const JOBS_AMOUNT = 'jobs'

Key for jobs option

Definition at line 58 of file DeployStaticOptions.php.

◆ LANGUAGE

const LANGUAGE = 'language'

Key for languages parameter

Definition at line 43 of file DeployStaticOptions.php.

◆ LANGUAGES_ARGUMENT

const LANGUAGES_ARGUMENT = 'languages'

Key for languages parameter

Definition at line 127 of file DeployStaticOptions.php.

◆ NO_CSS

const NO_CSS = 'no-css'

Key for css option

Definition at line 78 of file DeployStaticOptions.php.

◆ NO_FONTS

const NO_FONTS = 'no-fonts'

Key for fonts option

Definition at line 83 of file DeployStaticOptions.php.

◆ NO_HTML

const NO_HTML = 'no-html'

Key for html option

Definition at line 93 of file DeployStaticOptions.php.

◆ NO_HTML_MINIFY

const NO_HTML_MINIFY = 'no-html-minify'

Key for html option

Definition at line 98 of file DeployStaticOptions.php.

◆ NO_IMAGES

const NO_IMAGES = 'no-images'

Key for images option

Definition at line 88 of file DeployStaticOptions.php.

◆ NO_JAVASCRIPT

const NO_JAVASCRIPT = 'no-javascript'

Key for javascript option

Definition at line 73 of file DeployStaticOptions.php.

◆ NO_LESS

const NO_LESS = 'no-less'

Key for less option

Deprecated:
since 2.2.0

Definition at line 117 of file DeployStaticOptions.php.

◆ NO_MISC

const NO_MISC = 'no-misc'

Key for misc option

Definition at line 103 of file DeployStaticOptions.php.

◆ REFRESH_CONTENT_VERSION_ONLY

const REFRESH_CONTENT_VERSION_ONLY = 'refresh-content-version-only'

Key for refresh content version only mode

Definition at line 137 of file DeployStaticOptions.php.

◆ STRATEGY

const STRATEGY = 'strategy'

Use specific deployment strategy

Definition at line 53 of file DeployStaticOptions.php.

◆ SYMLINK_LOCALE

const SYMLINK_LOCALE = 'symlink-locale'

Symlink locale if it not customized

Definition at line 68 of file DeployStaticOptions.php.

◆ THEME

const THEME = 'theme'

Key for theme option

Definition at line 33 of file DeployStaticOptions.php.


The documentation for this class was generated from the following file: