PHP code example of thruster / data-mapper-bundle
1. Go to this page and download the library: Download thruster/data-mapper-bundle library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
thruster / data-mapper-bundle example snippets
$output = $this->container->get('thruster_data_mappers')->getMapper(SomeMapper::class)->map($input);
use DataMapperAwareTrait;
//...
$output = $this->getDataMapper(SomeMapper::class)->map($input);