This commit is contained in:
as2252258@163.com
2021-04-24 19:39:34 +08:00
parent 7bab39c450
commit 8d6dcd1cca
+3
View File
@@ -32,6 +32,7 @@ class Annotation extends Component
public function addSets(string $class, string $setName, string $method)
{
$this->_model_sets[$class . '::' . $setName] = $method;
var_dump($this->_model_sets);
}
/**
@@ -42,6 +43,7 @@ class Annotation extends Component
public function addGets(string $class, string $setName, string $method)
{
$this->_model_gets[$class . '::' . $setName] = $method;
var_dump($this->_model_gets);
}
/**
@@ -52,6 +54,7 @@ class Annotation extends Component
public function addRelate(string $class, string $setName, string $method)
{
$this->_model_relate[$class . '::' . $setName] = $method;
var_dump($this->_model_relate);
}