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

Breadcrumb

  1. Drupal Core 11.1.x
  2. Process.php

function Process::isSuccessful

Checks if the process ended successfully.

File

vendor/symfony/process/Process.php, line 791

Class

Process
Process is a thin wrapper around proc_* functions to easily start independent PHP processes.

Namespace

Symfony\Component\Process

Code

public function isSuccessful() : bool {
    return 0 === $this->getExitCode();
}
RSS feed
Powered by Drupal