function AnnotationWithAttributes::getBool

Same name and namespace in other branches
  1. 9 core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationWithAttributes::getBool()
  2. 8.9.x core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationWithAttributes::getBool()
  3. 10 core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php \Drupal\Tests\Component\Annotation\Doctrine\Fixtures\AnnotationWithAttributes::getBool()

Return value

bool

File

core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/AnnotationWithAttributes.php, line 65

Class

AnnotationWithAttributes
Plugin annotation @Target("ALL") @Attributes({ @Attribute("mixed", type = "mixed"), @Attribute("boolean", type = "boolean"), @Attribute("bool", type = "bool"), @Attribute("float", …

Namespace

Drupal\Tests\Component\Annotation\Doctrine\Fixtures

Code

public function getBool() {
    return $this->bool;
}

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