You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

UsersSettingsBusiness.php 592B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: robin
  5. * Date: 10/3/16
  6. * Time: 6:05 PM
  7. */
  8. namespace App\Business;
  9. use App\DataAccess\UsersSettingsDataAccess;
  10. use Luticate\Utils\Business\LuBusiness;
  11. class UsersSettingsBusiness extends LuBusiness
  12. {
  13. public static function getDataAccess()
  14. {
  15. return new UsersSettingsDataAccess();
  16. }
  17. public static function put(string $settings, string $id)
  18. {
  19. return static::getDataAccess()->put($settings, $id);
  20. }
  21. public static function get(string $id)
  22. {
  23. return static::getDataAccess()->get($id);
  24. }
  25. }