Bug #37648
Examples for Objects.yaml to change the class are not valid
Status: | Resolved | Start date: | 2012-05-31 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Karsten Dambekalns | % Done: | 100% |
|
Category: | - Documentation - | |||
Target version: | TYPO3 Flow Base Distribution - 1.1 | |||
PHP Version: | Complexity: | |||
Has patch: | No | Affected Flow version: | FLOW3 1.1.0 beta 3 |
Description
You can see in documentation: http://flow3.typo3.org/documentation/guide/partiii/objectmanagement.html
Example: Objects.yaml file for object replacement:
// Change the name of the class which
// represents the object MyCompany\MyPackage\Greeter
MyCompany\MyPackage\Greeter:
className: TYPO3\OtherPackage\GreeterWithCompliments
If you do that you have an exception that className parameter works only with Interfaces (Flow 1.1)
Associated revisions
[BUGFIX] Fix Objects.yaml className example in guide
The guide still stated that setting className in Objects.yaml
was possible for classes, but it works only for interfaces.
Change-Id: I8114f09647deaea5df1303fe5b33c11f5b807358
Fixes: #37648
Releases: 1.1, 1.2
[BUGFIX] Fix Objects.yaml className example in guide
The guide still stated that setting className in Objects.yaml
was possible for classes, but it works only for interfaces.
Change-Id: I8114f09647deaea5df1303fe5b33c11f5b807358
Fixes: #37648
Releases: 1.1, 1.2
History
#1 Updated by Karsten Dambekalns about 3 years ago
- Project changed from Documentation to TYPO3.Flow
#2 Updated by Karsten Dambekalns about 3 years ago
- Category set to - Documentation -
- Target version set to 1.1
- Has patch set to No
- Affected Flow version set to FLOW3 1.1.0 beta 3
#3 Updated by Gerrit Code Review about 3 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12356
#4 Updated by Karsten Dambekalns about 3 years ago
- Assigned To set to Karsten Dambekalns
#5 Updated by Gerrit Code Review about 3 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12356
#6 Updated by Gerrit Code Review about 3 years ago
Patch set 1 for branch FLOW3-1.1 has been pushed to the review server.
It is available at http://review.typo3.org/12372
#7 Updated by Karsten Dambekalns about 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100