Ticket #832 (closed defect: invalid)
setting up a template implementation does not work
| Reported by: | mahono | Owned by: | somebody |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | Other | Version: | 0.11.0 |
| Severity: | Keywords: | template plugin implementation | |
| Cc: | Has Test: | ||
| Status: | Has Patch: |
Description
Trying to use the Template support explained here for a user management: http://www.phpdoctrine.org/documentation/manual/0_10?one-page#class-templates:templates-with-relations
So from the documentation I understand that I can use 'UserTemplate?' everywhere I would have used 'User' and set the actual implementation this way (Listing 14.7):
$manager->setImpl('UserTemplate?', 'MyCoolUser?');
Following the docs I only get this exception: Couldn't load plugin.
Change History
Note: See
TracTickets for help on using
tickets.