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.

UserBusiness.php 383B

1234567891011121314151617181920212223242526
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: adrien.gandarias
  5. * Date: 08/04/2015
  6. * Time: 10:14
  7. */
  8. namespace App\Http\Business;
  9. use App\Http\DAL\UserDAL;
  10. class UserBusiness extends AbstractBusiness
  11. {
  12. public function getAll()
  13. {
  14. $business = UserDAL::getAll();
  15. if (is_null($business))
  16. abort(404, 'Not FOUND');
  17. return $business;
  18. }
  19. }