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: | ||
| Assignee: | Karsten Dambekalns | % Done: | 100% |
|
| Category: | - Documentation - | |||
| Target version: | TYPO3 Flow Base Distribution - 1.1 | |||
| PHP Version: | Complexity: | |||
| Has patch: | No | FLOW3 version affected: | FLOW3 1.1.0 beta 3 | |
| Votes: | 0 |
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
Updated by Karsten Dambekalns 11 months ago
- Project changed from Documentation to TYPO3.Flow
Updated by Karsten Dambekalns 11 months ago
- Category set to - Documentation -
- Target version set to 1.1
- Has patch set to No
- FLOW3 version affected set to FLOW3 1.1.0 beta 3
Updated by Gerrit Code Review 11 months 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
Updated by Karsten Dambekalns 11 months ago
- Assignee set to Karsten Dambekalns
Updated by Gerrit Code Review 11 months ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12356
Updated by Gerrit Code Review 11 months 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
Updated by Karsten Dambekalns 11 months ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100