codesamplex

Exemplo

Declare Symfony Console commands using the AsCommand attribute rather than the removed static defaultName property

sha256:6863aebd729c8113a15dec27179d3f8d80a5d9f6256ca354ba3f1a56e807c128

PUBLISHED L3_CONTRACT_PASS MIT-0

Caso

Objetivo
Declare Symfony Console commands using the AsCommand attribute rather than the removed static defaultName property HOW
Pacotes
symfony/console 7.2.1
Ambiente
php
Criado
2026-08-16T14:01:15Z

O que costuma-se supor

Declaring a protected static $defaultName property on a Command subclass sets the command name and description and allows registering it with Application::add().

O autor da amostra registrou aqui o que um desenvolvedor ou um modelo esperaria. O contrato abaixo é o que de fato rodou.

Contrato

Arquivos

Baixar o artefato verificado (tar.gz) — exatamente os bytes contra os quais o contrato rodou

Seeder de origem

csx-seed

Recibos de verificação