Bug #37648

Examples for Objects.yaml to change the class are not valid

Added by Krzysztof Daniel over 9 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Should have
Category:
- Documentation -
Start date:
2012-05-31
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
No
Complexity:

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)

#1

Updated by Karsten Dambekalns over 9 years ago

  • Project changed from 1883 to TYPO3.Flow
#2

Updated by Karsten Dambekalns over 9 years ago

  • Category set to - Documentation -
  • Target version set to 1.1
  • Has patch set to No
#3

Updated by Gerrit Code Review about 9 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 9 years ago

  • Assignee set to Karsten Dambekalns
#5

Updated by Gerrit Code Review about 9 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 9 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 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF