Feature #9586

Support @var/@param type "object"

Added by Robert Lemke almost 5 years ago. Updated almost 5 years ago.

Status:Resolved Start date:2010-09-03
Priority:Should have Due date:
Assigned To:Karsten Dambekalns % Done:

100%

Category:Persistence
Target version:TYPO3 Flow Base Distribution - 1.0 alpha 12
PHP Version: Complexity:
Has patch:

Description

Currently "object" is not supported as param type:

class MyClass {

   /**
    * @var object
    */
   protected $myVar;

}

results in exception:

#1264093630: Invalid type encountered: 'object' 

Associated revisions

Revision 9bd53546
Added by Karsten Dambekalns almost 5 years ago

[+FEATURE] FLOW3 (Persistence): Support "object" as property type

Member variables with a type of "object" in entities and valueobjects
can now be used, as long as they contain an entity or valueobject when
being persisted.

Change-Id: Ia2b858cf1a2cb20cbc127069ed29a62275ab8e0e
Resolves: #9586

History

#1 Updated by Karsten Dambekalns almost 5 years ago

  • Status changed from New to Accepted

#2 Updated by Karsten Dambekalns almost 5 years ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF