LoggerAwareCommandInterface

Interface

Defines the logger contract consumed by reusable command result helpers.

Description

Commands that compose shared logging traits expose their logger through this interface so the traits can stay agnostic of the concrete command class.

Table of Contents

Methods

getLogger()

Returns the logger used to emit command lifecycle messages.

 : LoggerInterface
Methods

getLogger()

Public

Returns the logger used to emit command lifecycle messages.

public getLogger() : LoggerInterface
Return values
LoggerInterface