Update Model and Manager

This commit is contained in:
Visman 2021-12-03 13:00:43 +07:00
parent 1c0810e2df
commit 7db6984efe
2 changed files with 2 additions and 2 deletions

View file

@ -58,7 +58,7 @@ class Manager
*/
public function __get(string $name) /* : mixed */
{
$key = $this->cKey . '&' . $name;
$key = $this->cKey . '/' . $name;
return $this->c->$key->setManager($this);
}

View file

@ -163,7 +163,7 @@ class Model
*/
public function __call(string $name, array $args) /* : mixed */
{
$key = $this->cKey . '*' . $name;
$key = $this->cKey . '/' . $name;
return $this->c->$key->setModel($this)->$name(...$args);
}