class TestServiceNullableTypehintSelf

Same name in other branches
  1. 10 core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php \Drupal\Tests\Component\ProxyBuilder\TestServiceNullableTypeHintSelf
  2. 11.x core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php \Drupal\Tests\Component\ProxyBuilder\TestServiceNullableTypeHintSelf

Hierarchy

Expanded class hierarchy of TestServiceNullableTypehintSelf

File

core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php, line 444

Namespace

Drupal\Tests\Component\ProxyBuilder
View source
class TestServiceNullableTypehintSelf {
    public function typehintSelf(?self $parameter) : ?self {
        return NULL;
    }

}

Members

Title Sort descending Modifiers Object type Summary
TestServiceNullableTypehintSelf::typehintSelf public function

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.