Objects interfaces and other minor changes

v2-beta
Bruno O. Notario 2 years ago
parent ace6f771be
commit 35e60c3ff6
Signed by: oliveira131
GPG Key ID: 76CAD698D3EA8F58
  1. 6
      system/engine/abstracthelper.php
  2. 4
      system/engine/autoload.php
  3. 24
      system/engine/controller.php
  4. 39
      system/engine/interfaces/common/registers.php
  5. 23
      system/engine/interfaces/controller.php
  6. 17
      system/engine/interfaces/helper.php
  7. 20
      system/engine/interfaces/model.php
  8. 7
      system/engine/model.php
  9. 2
      system/engine/registry.php
  10. 3
      system/engine/restful.php
  11. 8
      system/language/autoload.php
  12. 20
      system/session/autoload.php

File diff suppressed because one or more lines are too long

@ -86,6 +86,10 @@
'traits\\action',
'interfaces\\databases',
'interfaces\\serializer',
'interfaces\\common\\registers',
'interfaces\\controller',
'interfaces\\helper',
'interfaces\\model',
'exception',
'render',
'debug',

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -69,7 +69,7 @@ final class Registry {
/**
* @param string $key
* @param string $value
* @param mixed $value
* @return void
*/
public function set($key, $value) {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -240,4 +240,24 @@ final class Session
{
return session_id();
}
/**
*
* @param string $key
* @return mixed|null
*/
public function getData($key) {
return $this->data[$key] ?? null;
}
/**
*
* @param string $key
* @param mixed $value
* @return $this
*/
public function setData($key, $value) {
$this->data[$key] = $value;
return $this;
}
}

Loading…
Cancel
Save