Get attributes from an existing table.
public getAttributes ( ) : array | ||
Результат | array |
/** * Get attributes. * * @param string $table * * @return \Illuminate\Http\Response */ public function getResult($table, Request $request) { $attributes = new Attribute($table); if ($request->ajax()) { return $attributes->getAttributes(); } }