_comment = $params; }); } if (!Route::hasMacro('getComment')) { Route::macro('getComment', function () { if (!property_exists($this, '_comment')) return null; return $this->_comment; }); } } }