4.5 Annotations

Description

TYPO3 CD 2020 (zweite Auflage) Quiz on 4.5 Annotations, created by Pascal Bartl on 09/04/2021.
Pascal Bartl
Quiz by Pascal Bartl, updated more than 1 year ago
Pascal Bartl
Created by Pascal Bartl over 4 years ago
2
0

Resource summary

Question 1

Question
Which of the following annotations exist in Extbase or TYPO3 by default? (3)
Answer
  • @internal
  • @external
  • @TYPO3\CMS\Extbase\Annotation\ORM\Lazy
  • @TYPO3\CMS\Extbase\Annotation\Inject
  • @TYPO3\CMS\Extbase\Annotation\Import

Question 2

Question
Which of the following annotations are valid in Extbase? (2)
Answer
  • @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 )
Show full summary Hide full summary

Similar