/** * Set the key-identifier for the view * * @param string $key Key of the view * * @return RouterViewConfiguration This object for chaining * * @since 3.5 */ public function setKey($key) { $this->key = $key; return $this; }