Doctrine\ORM\Tools\EntityGenerator::getChangeTrackingPolicyString
Signature
protected function getChangeTrackingPolicyString(integer
$type )
Parameters
$type
— integer- The policy used for change-tracking for the mapped class.
Returns
- string
- The literal string for the change-tracking type.
Errors/Exceptions
-
InvalidArgumentException
- When the change-tracking type does not exists.