- Provides a datatrans implementation within symfony
- PHP 5.3+
Through Composer
{
"require": {
"ibrows/datatrans-bundle": "dev-master@dev"
}
"repositories": [
{
"type": "vcs",
"url": "git@codebasehq.com:ibrows/ibrowsch/datatransbundle.git"
}
]
}
You can use each psr-3
implementation, create your own service and add its id to the bundle configuration.
ibrows_data_trans:
logger: my_logger_serviceid # or logger if you like symfony default
Create your own service and add its id to the bundle configuration.
ibrows_data_trans:
logger: my_validator_serviceid # or logger if you like symfony default
/** @var Ibrows\DataTrans\Api\Authorization\Add\Authorization $authorization */
$authorization = $container->get('ibrows.datatrans.service.authorization');
For details, watch the datatrans library