I am creating a Symfony Bundle where I have my commands, entities and all the logic that I need.
But in one of my commands I need to store files in /web/bundles/mybundle/images
.
I've been googling a lot and I can't find anyway to get my bundle web root directory from a command.
Is there any Symfony function to get my bundle web root directory?