1 | <?php |
||
27 | trait ResolverAwareTrait |
||
28 | { |
||
29 | /** |
||
30 | * @var ResolverInterface |
||
31 | * @access protected |
||
32 | */ |
||
33 | protected $resolver; |
||
34 | |||
35 | /** |
||
36 | * Get the resolver |
||
37 | * |
||
38 | * @return ResolverInterface |
||
39 | * @access protected |
||
40 | */ |
||
41 | protected function getResolver()/*# : ResolverInterface */ |
||
45 | |||
46 | /** |
||
47 | * Set the resolver |
||
48 | * |
||
49 | * @param ResolverInterface $resolver |
||
50 | * @return $this |
||
51 | * @access protected |
||
52 | */ |
||
53 | protected function setResolver(ResolverInterface $resolver) |
||
58 | } |
||
59 |