Adapter.php 624 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. * This file is part of the GraphAware NeoClient package.
  4. *
  5. * (c) GraphAware <http://graphaware.com>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace GraphAware\NeoClient\Formatter;
  11. /**
  12. * Adapter class for NeoClient usage < v4
  13. *
  14. */
  15. class Adapter
  16. {
  17. private $service;
  18. public static function getDefaultResultDataContents()
  19. {
  20. return ResultFormatter::getDefaultResultDataContents();
  21. }
  22. public function __construct()
  23. {
  24. $this->service = new ResponseFormattingService();
  25. }
  26. }