class Example in Coder 8.3
Same name in this branch
Same name and namespace in other branches
Example.
Hierarchy
- class \Example extends \Test implements \Test, \Test1, \MultiLine uses \Test
Expanded class hierarchy of Example
1 string reference to 'Example'
- example.info.yml in tests/
DrupalPractice/ Objects/ drupal8/ example.info.yml - tests/DrupalPractice/Objects/drupal8/example.info.yml
File
- tests/
Drupal/ Classes/ UseGlobalClassUnitTest.inc, line 21 - Example.
View source
class Example extends Test implements Test, Alias, MultiLineAlias {
use Test;
/**
* Description.
*/
public function test1(Alias $alias, TestClass $class) {
count([]);
}
/**
* Description.
*/
public function test2(NamespacedAlias $alias) : Test {
}
/**
* Description.
*/
public function test3() {
try {
} catch (Test $exception) {
}
}
/**
* Description.
*/
public function test4() {
MultiLineAlias::create('test');
}
/**
* Description.
*/
public function test5() {
$test = new MultiLineSecond();
}
/**
* Description.
*/
public function test6() {
$test = new MultiLineAlias2();
}
/**
* Description.
*/
public function test7() : ?Test {
}
/**
* Description.
*/
public abstract function test8() : Test;
/**
* Description.
*/
public abstract function test9() : ?Test;
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Example:: |
public | function | Description. | |
Example:: |
public | function | Description. | |
Example:: |
public | function | Description. | |
Example:: |
public | function | Description. | |
Example:: |
public | function | Description. | |
Example:: |
public | function | Description. | |
Example:: |
public | function | Description. | |
Example:: |
abstract public | function | Description. | |
Example:: |
abstract public | function | Description. |