public function RouteContentEnhancer::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony-cmf/routing/Enhancer/RouteContentEnhancer.php \Symfony\Cmf\Component\Routing\Enhancer\RouteContentEnhancer::__construct()
Parameters
string $routefield the field name of the route class:
string $target the field name to set from the map:
array $hashmap the map of class names to field values:
File
- vendor/
symfony-cmf/ routing/ Enhancer/ RouteContentEnhancer.php, line 42
Class
- RouteContentEnhancer
- This enhancer sets the content to target field if the route provides content.
Namespace
Symfony\Cmf\Component\Routing\EnhancerCode
public function __construct($routefield, $target) {
$this->routefield = $routefield;
$this->target = $target;
}