PHP Class N98\Util\Console\Helper\MagentoHelper

Inheritance: extends N98\Magento\Command\TestCase
Afficher le fichier Open project: netz98/n98-magerun Class Usage Examples

Protected Properties

Свойство Type Description
$_customConfigFilename string
$_magentoEnterprise boolean
$_magentoMajorVersion integer
$_magentoRootFolder string
$_magerunStopFileFolder string
$_magerunStopFileFound boolean
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

Méthodes publiques

Méthode Description
__construct ( Symfony\Component\Console\Input\InputInterface $input = null, Symfony\Component\Console\Output\OutputInterface $output = null )
detect ( string $folder, array $subFolders = [] ) : boolean Start Magento detection
detectMagento2InHtdocsSubfolder ( )
detectMagentoFailed ( )
detectMagentoInHtdocsSubfolder ( )
detectMagentoInModmanInfrastructure ( )
detectMagentoInStandardFolder ( )
getEdition ( )
getMagerunStopFileFolder ( ) : string
getMajorVersion ( ) : integer
getName ( ) : string Returns the canonical name of this helper.
getRootFolder ( ) : string
isEnterpriseEdition ( ) : boolean
isMagerunStopFileFound ( ) : boolean
testHelperInstance ( )

Méthodes protégées

Méthode Description
_search ( string $searchFolder ) : boolean
checkMagerunFile ( array $folders ) : array Check for magerun stop-file
checkModman ( array $folders ) : array Check for modman file and .basedir
getHelper ( ) : MagentoHelper
splitPathFolders ( string $folder ) : array

Method Details

__construct() public méthode

public __construct ( Symfony\Component\Console\Input\InputInterface $input = null, Symfony\Component\Console\Output\OutputInterface $output = null )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

checkMagerunFile() protected méthode

Check for magerun stop-file
protected checkMagerunFile ( array $folders ) : array
$folders array
Résultat array

checkModman() protected méthode

Check for modman file and .basedir
protected checkModman ( array $folders ) : array
$folders array
Résultat array

detect() public méthode

Start Magento detection
public detect ( string $folder, array $subFolders = [] ) : boolean
$folder string
$subFolders array [optional] sub-folders to check
Résultat boolean

detectMagento2InHtdocsSubfolder() public méthode

detectMagentoFailed() public méthode

public detectMagentoFailed ( )

detectMagentoInHtdocsSubfolder() public méthode

detectMagentoInModmanInfrastructure() public méthode

detectMagentoInStandardFolder() public méthode

getEdition() public méthode

public getEdition ( )

getHelper() protected méthode

protected getHelper ( ) : MagentoHelper
Résultat MagentoHelper

getMagerunStopFileFolder() public méthode

public getMagerunStopFileFolder ( ) : string
Résultat string

getMajorVersion() public méthode

public getMajorVersion ( ) : integer
Résultat integer

getName() public méthode

Returns the canonical name of this helper.
public getName ( ) : string
Résultat string The canonical name

getRootFolder() public méthode

public getRootFolder ( ) : string
Résultat string

isEnterpriseEdition() public méthode

public isEnterpriseEdition ( ) : boolean
Résultat boolean

isMagerunStopFileFound() public méthode

public isMagerunStopFileFound ( ) : boolean
Résultat boolean

splitPathFolders() protected méthode

protected splitPathFolders ( string $folder ) : array
$folder string
Résultat array

testHelperInstance() public méthode

public testHelperInstance ( )

Property Details

$_customConfigFilename protected_oe property

protected string $_customConfigFilename
Résultat string

$_magentoEnterprise protected_oe property

protected bool $_magentoEnterprise
Résultat boolean

$_magentoMajorVersion protected_oe property

protected int $_magentoMajorVersion
Résultat integer

$_magentoRootFolder protected_oe property

protected string $_magentoRootFolder
Résultat string

$_magerunStopFileFolder protected_oe property

protected string $_magerunStopFileFolder
Résultat string

$_magerunStopFileFound protected_oe property

protected bool $_magerunStopFileFound
Résultat boolean

$input protected_oe property

protected InputInterface,Symfony\Component\Console\Input $input
Résultat Symfony\Component\Console\Input\InputInterface

$output protected_oe property

protected OutputInterface,Symfony\Component\Console\Output $output
Résultat Symfony\Component\Console\Output\OutputInterface