PHP Класс N98\Util\Console\Helper\MagentoHelper

Наследование: extends N98\Magento\Command\TestCase
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$_customConfigFilename string
$_magentoEnterprise boolean
$_magentoMajorVersion integer
$_magentoRootFolder string
$_magerunStopFileFolder string
$_magerunStopFileFound boolean
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

Открытые методы

Метод Описание
__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 ( )

Защищенные методы

Метод Описание
_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

Описание методов

__construct() публичный Метод

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() защищенный Метод

Check for magerun stop-file
protected checkMagerunFile ( array $folders ) : array
$folders array
Результат array

checkModman() защищенный Метод

Check for modman file and .basedir
protected checkModman ( array $folders ) : array
$folders array
Результат array

detect() публичный Метод

Start Magento detection
public detect ( string $folder, array $subFolders = [] ) : boolean
$folder string
$subFolders array [optional] sub-folders to check
Результат boolean

detectMagento2InHtdocsSubfolder() публичный Метод

detectMagentoFailed() публичный Метод

public detectMagentoFailed ( )

detectMagentoInHtdocsSubfolder() публичный Метод

detectMagentoInModmanInfrastructure() публичный Метод

detectMagentoInStandardFolder() публичный Метод

getEdition() публичный Метод

public getEdition ( )

getHelper() защищенный Метод

protected getHelper ( ) : MagentoHelper
Результат MagentoHelper

getMagerunStopFileFolder() публичный Метод

public getMagerunStopFileFolder ( ) : string
Результат string

getMajorVersion() публичный Метод

public getMajorVersion ( ) : integer
Результат integer

getName() публичный Метод

Returns the canonical name of this helper.
public getName ( ) : string
Результат string The canonical name

getRootFolder() публичный Метод

public getRootFolder ( ) : string
Результат string

isEnterpriseEdition() публичный Метод

public isEnterpriseEdition ( ) : boolean
Результат boolean

isMagerunStopFileFound() публичный Метод

public isMagerunStopFileFound ( ) : boolean
Результат boolean

splitPathFolders() защищенный Метод

protected splitPathFolders ( string $folder ) : array
$folder string
Результат array

testHelperInstance() публичный Метод

public testHelperInstance ( )

Описание свойств

$_customConfigFilename защищенное свойство

protected string $_customConfigFilename
Результат string

$_magentoEnterprise защищенное свойство

protected bool $_magentoEnterprise
Результат boolean

$_magentoMajorVersion защищенное свойство

protected int $_magentoMajorVersion
Результат integer

$_magentoRootFolder защищенное свойство

protected string $_magentoRootFolder
Результат string

$_magerunStopFileFolder защищенное свойство

protected string $_magerunStopFileFolder
Результат string

$_magerunStopFileFound защищенное свойство

protected bool $_magerunStopFileFound
Результат boolean

$input защищенное свойство

protected InputInterface,Symfony\Component\Console\Input $input
Результат Symfony\Component\Console\Input\InputInterface

$output защищенное свойство

protected OutputInterface,Symfony\Component\Console\Output $output
Результат Symfony\Component\Console\Output\OutputInterface