For instance, `$documentManager->persist($doc)` is a command method. `$context->addViolation(...)` is one too.