TestSource.php 316 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. namespace TestPlugin\Datasource;
  3. class TestSource {
  4. /**
  5. * Config
  6. *
  7. * @var array
  8. */
  9. protected $_config;
  10. /**
  11. * Constructor
  12. */
  13. public function __construct(array $config) {
  14. $this->_config = $config;
  15. }
  16. /**
  17. * config
  18. *
  19. * @return array
  20. */
  21. public function config() {
  22. return $this->_config;
  23. }
  24. }