content = $content; } /** * @param string $content 按钮内容 * @return ToolButton */ public static function make($content) { return new ToolButton($content); } /** * @param mixed $uri * @return $this */ public function uri($uri) { $this->uri = $uri; return $this; } /** * @param string $handler 响应类型 request|route|link * @return $this */ public function handler($handler) { $this->handler = $handler; return $this; } }