[FEATURE] Fixed hook for silex application