public function __construct($property, $switch, array $templates) { $this->_property = $property; $this->_switch = $switch; $this->_templates = $templates; }