Overview

Namespaces

  • Cz
    • Cli
      • Inputs
      • Outputs
      • Parameters

Classes

  • BaseOutput
  • ColoredOutput
  • NullOutput
  • TextOutput
  • Overview
  • Namespace
  • Class

Class BaseOutput

Cz\Cli\Outputs\BaseOutput implements Cz\Cli\IOutputProvider

Direct known subclasses

Cz\Cli\Outputs\ColoredOutput, Cz\Cli\Outputs\TextOutput
Abstract
Namespace: Cz\Cli\Outputs
Located at Outputs/BaseOutput.php
Methods summary
public
# __construct( )
public Cz\Cli\Outputs\BaseOutput
# output( string|string[] $str )

Parameters

$str

Returns

Cz\Cli\Outputs\BaseOutput

Implementation of

Cz\Cli\IOutputProvider::output()
public Cz\Cli\Outputs\BaseOutput
# nl( )

Returns

Cz\Cli\Outputs\BaseOutput

Implementation of

Cz\Cli\IOutputProvider::nl()
public Cz\Cli\Outputs\BaseOutput
# setAutoNewLine( boolean $state )

Parameters

$state

Returns

Cz\Cli\Outputs\BaseOutput

Implementation of

Cz\Cli\IOutputProvider::setAutoNewLine()
public boolean
# getAutoNewLine( )

Returns

boolean

Implementation of

Cz\Cli\IOutputProvider::getAutoNewLine()
protected
# printNL( )
Methods inherited from Cz\Cli\IOutputProvider
error(), info(), muted(), success(), warning()
Properties summary
protected boolean $newLineEnabled
# TRUE
protected string $newLineCharacter
# "\n"
czproject/phpcli version-2 API documentation API documentation generated by ApiGen