isEmpty()) { return false; } $readline->escapeCurrentFrameForAbort($buffer); throw new BreakException('Ctrl+D'); } /** * {@inheritdoc} */ public function getName(): string { return 'exit-if-empty'; } }