validate 分离 controller

This commit is contained in:
yanwnewu
2018-11-30 09:56:27 +08:00
parent e957f9f474
commit 430e466e12
9 changed files with 74 additions and 75 deletions

View File

@@ -25,4 +25,11 @@ abstract class AbstractValidate extends Validate
return $this->getError();
}
public function __set($name, $value)
{
// TODO: Implement __set() method.
$this->rule[$name] = $value;
}
}