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.

RoutesBusiness.php 371B

123456789101112131415161718192021222324
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: robin
  5. * Date: 9/30/16
  6. * Time: 8:58 PM
  7. */
  8. namespace App\Business;
  9. use App\DataAccess\RoutesDataAccess;
  10. class RoutesBusiness
  11. {
  12. protected static function getDataAccess()
  13. {
  14. return new RoutesDataAccess();
  15. }
  16. public static function getAll()
  17. {
  18. return static::getDataAccess()->getAll();
  19. }
  20. }