-
-
Notifications
You must be signed in to change notification settings - Fork 0
HasCommandLogger
github-actions edited this page Apr 22, 2026
·
1 revision
Resolves the logger expected by command result helper traits.
The consuming command is expected to expose an initialized $logger
property so reusable traits can log without coupling themselves to a
specific constructor signature.
- Full name:
\FastForward\DevTools\Console\Command\Traits\HasCommandLogger
Returns the logger configured on the consuming command.
public getLogger(): \Psr\Log\LoggerInterfaceThrows:
when the consuming command does not expose a valid logger property