PHP 클래스 N98\Magento\Application\Console\EventSubscriber\CheckRootUser

상속: implements Symfony\Component\EventDispatcher\EventSubscriberInterface
파일 보기 프로젝트 열기: netz98/n98-magerun

공개 메소드들

메소드 설명
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.

보호된 메소드들

메소드 설명
_isSkipRootCheck ( Symfony\Component\Console\Input\InputInterface $input ) : boolean

메소드 상세

_isSkipRootCheck() 보호된 메소드

protected _isSkipRootCheck ( Symfony\Component\Console\Input\InputInterface $input ) : boolean
$input Symfony\Component\Console\Input\InputInterface
리턴 boolean

checkRunningAsRootUser() 공개 메소드

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

getSubscribedEvents() 공개 정적인 메소드

Returns an array of event names this subscriber wants to listen to.
public static getSubscribedEvents ( ) : array
리턴 array The event names to listen to