Advertisement
Guest User

Untitled

a guest
Jun 2nd, 2016
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. modulename:
  2. core_address: 107.101.xx.yy
  3. core_port: 153759
  4. core_user: superuser
  5. core_pass: superpass
  6.  
  7. services:
  8. modulename.my_service:
  9. class: DrupalmodulenamegroupMyService
  10.  
  11. /**
  12. * @file
  13. * Contains DrupalmodulenamegroupMyService.
  14. */
  15.  
  16. namespace Drupalmodulenamegroup;
  17.  
  18. /**
  19. * MyService.
  20. */
  21. class MyService{
  22.  
  23. protected $demo_value;
  24.  
  25. public function __construct() {
  26. $this->demo_value = 'hi there';
  27. }
  28.  
  29. public function getDemoValue() {
  30. return $this->demo_value;
  31. }
  32.  
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement