Slide 26
Slide 26 text
FieldMapEnhancer
Sets a value in the route, based on a hashmap
<
?
p
h
p
u
s
e S
y
m
f
o
n
y
\
C
m
f
\
C
o
m
p
o
n
e
n
t
\
R
o
u
t
i
n
g
\
E
n
h
a
n
c
e
r
\
F
i
e
l
d
M
a
p
E
n
h
a
n
c
e
r
;
$
h
a
s
h
M
a
p = a
r
r
a
y
(
'
f
o
o
' =
> '
0
1
0
P
H
P
'
)
;
$
e
n
h
a
n
c
e
r = n
e
w F
i
e
l
d
M
a
p
E
n
h
a
n
c
e
r
(
'
b
a
r
'
, '
t
i
t
l
e
'
, $
h
a
s
h
M
a
p
)
;
Imagine a Route, that has a property bar with value foo
After the enhancer is applied, the route will also have a property
title with value 010PHP