Boilerplate to use a Directus Instance to Build a Custom Website, Content will be Manage by Directus
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.

30 lines
528 B

  1. <?php
  2. namespace App\Flight;
  3. use Flight;
  4. /**
  5. * abstract FlightAbstract to get instance of flight engine
  6. *
  7. * @author Björn Hase, Tentakelfabrik
  8. * @license http://opensource.org/licenses/MIT The MIT License
  9. * @link https://gitea.tentakelfabrik.de/Tentakelfabrik/super-gear-directus
  10. *
  11. */
  12. abstract class FlightAbstract
  13. {
  14. /** object of flight */
  15. protected $app;
  16. /**
  17. * getting object of flight
  18. *
  19. *
  20. */
  21. public function __construct()
  22. {
  23. $this->app = Flight::app();
  24. }
  25. }