# WritersInterface

Chevere\Interfaces\Writer\WritersInterface

view source

# Methods

# __construct()


# with()

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

# Parameters

  1. WriterInterface $writer

RETURN

WritersInterface

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


# withOut()

Return an instance with the specified out WriterInterface.

# Parameters

  1. WriterInterface $writer

RETURN

WritersInterface

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


# out()


# withError()

Return an instance with the specified error WriterInterface.

# Parameters

  1. WriterInterface $writer

RETURN

WritersInterface

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

  1. WriterInterface $writer

RETURN

WritersInterface

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

  1. WriterInterface $writer

RETURN

WritersInterface

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


# log()


Last Updated: 8/2/2020, 1:36:58 AM