Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x

OutputCallbackAdapterInterface.php

Namespace

PhpTuf\ComposerStager\Internal\Process\Service

File

vendor/php-tuf/composer-stager/src/Internal/Process/Service/OutputCallbackAdapterInterface.php

View source
<?php

declare (strict_types=1);
namespace PhpTuf\ComposerStager\Internal\Process\Service;


/**
 * Adapts an OutputCallback to Symfony Process's callback expectations.
 *
 * @see https://symfony.com/doc/current/components/process.html#running-processes-asynchronously
 *
 * @package Process
 *
 * @internal Don't depend directly on this interface. It may be changed or removed at any time without notice.
 */
interface OutputCallbackAdapterInterface {
    
    /** @see \Symfony\Component\Process\Process::readPipes */
    public function __invoke(string $type, string $buffer) : void;

}

Interfaces

Title Deprecated Summary
OutputCallbackAdapterInterface Adapts an OutputCallback to Symfony Process's callback expectations.

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal