isRunningOS400 example

public function setErrorOutput(OutputInterface $error)
    {
        $this->stderr = $error;
    }

    /** * Returns true if current environment supports writing console output to * STDOUT. */
    protected function hasStdoutSupport(): bool
    {
        return false === $this->isRunningOS400();
    }

    /** * Returns true if current environment supports writing console output to * STDERR. */
    protected function hasStderrSupport(): bool
    {
        return false === $this->isRunningOS400();
    }

    
public function setErrorOutput(OutputInterface $error)
    {
        $this->stderr = $error;
    }

    /** * Returns true if current environment supports writing console output to * STDOUT. */
    protected function hasStdoutSupport(): bool
    {
        return false === $this->isRunningOS400();
    }

    /** * Returns true if current environment supports writing console output to * STDERR. */
    protected function hasStderrSupport(): bool
    {
        return false === $this->isRunningOS400();
    }

    
Home | Imprint | This part of the site doesn't use cookies.