Pascal Bartl
Quiz by , created more than 1 year ago

TYPO3 CD 2020 (zweite Auflage) Quiz on 4.5 Annotations, created by Pascal Bartl on 09/04/2021.

1
0
0
Pascal Bartl
Created by Pascal Bartl over 3 years ago
Close

4.5 Annotations

Question 1 of 2

1

Which of the following annotations exist in Extbase or TYPO3 by default? (3)

Select one or more of the following:

  • @internal

  • @external

  • @TYPO3\CMS\Extbase\Annotation\ORM\Lazy

  • @TYPO3\CMS\Extbase\Annotation\Inject

  • @TYPO3\CMS\Extbase\Annotation\Import

Explanation

Question 2 of 2

1

Which of the following annotations are valid in Extbase? (2)

Select one or more of the following:

  • @TYPO3\CMS\Extbase\Annotation\ORM\Lazy

  • @TYPO3\CMS\Core\Validation\Validate("String")

  • @TYPO3\CMS\Extbase\Annotation\Validate(StringValidator::class)

  • @TYPO3\CMS\Extbase\Annotation\Validate("String")

  • @TYPO3\CMS\Extbase\Annotation\Validate(
    TYPO3\CMS\Extbase\Validation\Validator\NotEmptyValidator::class
    )

Explanation