$item) { if (property_exists($this, $key)) { $this->$key = $item; } } } abstract public function getContent(); /** * 返回数组 键值说明 * handle 表示操作方法名 * content 表示操作方法的参数 * show 表示是否执行操作 * children 表示需要先执行的操作数组 */ abstract public function getContentByArray(); }