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.

StopsSchedulesDbo.php 563B

12345678910111213141516171819202122232425262728293031323334353637
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: robin
  5. * Date: 10/1/16
  6. * Time: 9:45 PM
  7. */
  8. namespace App\Dbo;
  9. use Carbon\Carbon;
  10. class StopsSchedulesDbo extends StopsLiteRoutesLiteDbo
  11. {
  12. /**
  13. * @var $_schedules Carbon[]
  14. */
  15. protected $_schedules;
  16. /**
  17. * @return \Carbon\Carbon[]
  18. */
  19. public function getSchedules(): array
  20. {
  21. return $this->_schedules;
  22. }
  23. /**
  24. * @param \Carbon\Carbon[] $schedules
  25. */
  26. public function setSchedules(array $schedules)
  27. {
  28. $this->_schedules = $schedules;
  29. }
  30. }