改名
This commit is contained in:
+1
-13
@@ -142,19 +142,7 @@ class ' . $managerName . ' extends ActiveRecord
|
|||||||
|
|
||||||
$html .= $this->createRules($this->fields);
|
$html .= $this->createRules($this->fields);
|
||||||
|
|
||||||
|
$out = ['rules', 'tableName'];
|
||||||
$html .= '
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return array
|
|
||||||
*/
|
|
||||||
public function attributes() : array
|
|
||||||
{
|
|
||||||
return [' . implode('', $this->res) . '
|
|
||||||
];
|
|
||||||
}' . "\n";
|
|
||||||
|
|
||||||
$out = ['rules', 'tableName', 'attributes'];
|
|
||||||
if (is_object($class)) {
|
if (is_object($class)) {
|
||||||
$methods = $class->getMethods(\ReflectionMethod::IS_PUBLIC);
|
$methods = $class->getMethods(\ReflectionMethod::IS_PUBLIC);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user