How extend Slim\App?

Hello,
Thanks for the solution ,this is very helpful for me.