mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-29 15:50:12 +01:00
18 lines
185 B
PHP
18 lines
185 B
PHP
<?php
|
|
|
|
class Model {
|
|
|
|
public function __get($key) {
|
|
return Registry::get($key);
|
|
}
|
|
|
|
|
|
public function __set($key, $value) {
|
|
Registry::set($key, $value);
|
|
}
|
|
|
|
}
|
|
|
|
|
|
?>
|