Feature #37279

Request PropertyMapping

Added by Carsten Bleicker about 9 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Property
Target version:
-
Start date:
2012-05-18
Due date:
% Done:

0%

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

Description

atm i have to allow properties this way, right?
$this->arguments['section']->getPropertyMappingConfiguration()->allowCreationForSubProperty('ticketLimit');
$this->arguments['section']->getPropertyMappingConfiguration()->allowModificationForSubProperty('ticketLimit');
$this->arguments['section']->getPropertyMappingConfiguration()->getConfigurationFor('ticketLimit')->allowProperties('dailyLimit');

wouldnt it be easier to do something like this?
$this->arguments->allowProperties(
'this.that'
'this.alsothat'
'another.that.this'
)

$this->arguments->allowCreationOfProperties(
'this.that'
'this.alsothat'
'another.that.this'
)

$this->arguments->allowModificationOfProperties(
'this.that'
'this.alsothat'
'another.that.this'
)

No data to display

Also available in: Atom PDF