# WritersInterface

Chevere\Interfaces\Writer\WritersInterface

view source (opens new window)

# Methods

# __construct


# with

Return an instance with the specified $writer for all writers.

Parameters

Return

self

This method MUST retain the state of the current instance, and return an instance that contains the specified $writer for all writers.


# withOutput

Return an instance with the specified out WriterInterface.

Parameters

Return

self

This method MUST retain the state of the current instance, and return an instance that contains the specified out WriterInterface.


# output


# withError

Return an instance with the specified error WriterInterface.

Parameters

Return

self

This method MUST retain the state of the current instance, and return an instance that contains the specified error WriterInterface.


# error


# withDebug

Return an instance with the specified debug WriterInterface.

Parameters

Return

self

This method MUST retain the state of the current instance, and return an instance that contains the specified debug WriterInterface.


# debug


# withLog

Return an instance with the specified log WriterInterface.

Parameters

Return

self

This method MUST retain the state of the current instance, and return an instance that contains the specified log WriterInterface.


# log


Last Updated: 5/1/2021, 2:31:10 PM