Added command validation using Symfony validator