for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Created for IG Client.
* User: jakim <[email protected]>
* Date: 20.04.2018
*/
namespace Jakim\Mapper;
use Jakim\Base\Mapper;
use Jakim\Model\Account;
class AccountInfo extends Mapper
{
public function config(): array
return [
'class' => Account::class,
'envelope' => 'user',
'properties' => [
'id' => 'pk',
'profilePicUrl' => 'profile_pic_url',
'username' => 'username',
],
];
}