Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 870fe07

Browse files
andrey1swouterj
authored andcommitted
implement method fir example Route Enhancers
1 parent dbcad64 commit 870fe07

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

bundles/routing/dynamic_customize.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,14 @@ implementations if you have a case not handled by the
3030
namespace AppBundle\Routing\Enhancer;
3131
3232
use Symfony\Cmf\Component\Routing\Enhancer\RouteEnhancerInterface;
33+
use Symfony\Component\HttpFoundation\Request;
3334
3435
class SimpleEnhancer implements RouteEnhancerInterface
3536
{
37+
public function enhance(array $defaults, Request $request)
38+
{
39+
//own logic
40+
}
3641
}
3742
3843

0 commit comments

Comments
 (0)