Sign in

davyin-co / drupal-cms · Files

GitLab

  • Go to group
  • Project
  • Activity
  • Files
  • Commits
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Forks
  • Network
  • drupal-cms
  • vendor
  • chi-teck
  • drupal-code-generator
  • src
  • InputOutput
  • IOAwareInterface.php
  • init
    b4927f1e
    Terry authored
    2025-01-17 13:04:07 +0800  
    Browse Files »
IOAwareInterface.php 349 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
<?php

declare(strict_types=1);

namespace DrupalCodeGenerator\InputOutput;

/**
 * Interface for classes that depend on the console input and output.
 */
interface IOAwareInterface {

  /**
   * Sets or gets the console IO.
   *
   * @throws \LogicException
   *   When IO is not not initialized.
   */
  public function io(?IO $io = NULL): IO;

}