NewService.php
Same filename in other branches
Namespace
Drupal\new_dependency_test_with_serviceFile
-
core/
modules/ system/ tests/ modules/ new_dependency_test_with_service/ src/ NewService.php
View source
<?php
namespace Drupal\new_dependency_test_with_service;
/**
* Generic service returning a greeting.
*/
class NewService {
/**
* Get a simple greeting.
*
* @return string
* The greeting provided by the new service.
*/
public function greet() {
return 'Hello';
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
NewService | Generic service returning a greeting. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.