function AnnotationWithAttributes::getFloat

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

Return value

float

File

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

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 getFloat() {
    return $this->float;
}

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