PHP Class N98\Magento\Application\Console\EventSubscriber\CheckRootUser

Inheritance: implements Symfony\Component\EventDispatcher\EventSubscriberInterface
Afficher le fichier Open project: netz98/n98-magerun

Méthodes publiques

Méthode Description
checkRunningAsRootUser ( Event $event ) : void Display a warning if a running n98-magerun as root user
getSubscribedEvents ( ) : array Returns an array of event names this subscriber wants to listen to.

Méthodes protégées

Méthode Description
_isSkipRootCheck ( Symfony\Component\Console\Input\InputInterface $input ) : boolean

Method Details

_isSkipRootCheck() protected méthode

protected _isSkipRootCheck ( Symfony\Component\Console\Input\InputInterface $input ) : boolean
$input Symfony\Component\Console\Input\InputInterface
Résultat boolean

checkRunningAsRootUser() public méthode

Display a warning if a running n98-magerun as root user
public checkRunningAsRootUser ( Event $event ) : void
$event N98\Magento\Application\Console\Event
Résultat void

getSubscribedEvents() public static méthode

Returns an array of event names this subscriber wants to listen to.
public static getSubscribedEvents ( ) : array
Résultat array The event names to listen to