isInteractive() 공개 메소드

Returns whether the user may be asked for input.
public isInteractive ( ) : boolean
리턴 boolean Returns `true` if the user may be asked for input and `false` otherwise.
 private function getResolvedProfile(Args $args, IO $io)
 {
     $profileResolver = new AutomaticProfileResolver($this->config);
     if ($io->isInteractive()) {
         $profileResolver = new InteractiveProfileResolver($this->config, $this->style, $profileResolver);
     }
     return $this->profileConfigResolver->resolve($profileResolver->resolve($args->getArgument('profile'))->name);
 }