Skip to content

Instantly share code, notes, and snippets.

View lakiboy's full-sized avatar

Dmitrijs Lakachauskis lakiboy

  • Sun Finance
  • Riga
View GitHub Profile
@lakiboy
lakiboy / Controller
Created March 22, 2019 07:47
PLAT-284 v2
<?php
namespace Api\Controller\Client\BankStatement;
use Api\Controller\Base\BaseRestController;
use Api\Form\Submit\Client\BankStatement\BankStatementFileType;
use Api\Response\ApiException;
use Api\Response\ApiFormException;
use FinCore\Domain\Client\Contract\CommandBus\Commands\UploadBankStatementCommand;
use MessageBus\Alias\CommandBusInterface;
@lakiboy
lakiboy / Controller
Last active March 22, 2019 07:37
PLAT-284
<?php
namespace Api\Controller\Client\BankStatement;
use Api\Controller\Base\BaseRestController;
use Api\Form\Submit\Client\BankStatement\BankStatementType;
use Api\Response\ApiException;
use Api\Response\ApiFormException;
use FinCore\Domain\Client\Contract\CommandBus\Commands\UploadBankStatementCommand;
use MessageBus\Alias\CommandBusInterface;
### Keybase proof
I hereby claim:
* I am lakiboy on github.
* I am lakiboy83 (https://keybase.io/lakiboy83) on keybase.
* I have a public key ASAkY5tyvuewdUifGoHRIyF7IMzzJibDqGjjygdGJtHcNgo
To claim this, I am signing this object:
@lakiboy
lakiboy / DelegatingProducer.php
Created November 28, 2015 12:53
DelegatingProducer for SimpleBus/RabbitMQBundleBridge.
<?php
namespace Cinemania\CoreBundle\SimpleBus;
use OldSound\RabbitMqBundle\RabbitMq\Fallback;
use OldSound\RabbitMqBundle\RabbitMq\ProducerInterface;
use Symfony\Component\DependencyInjection\ContainerInterface;
class DelegatingProducer extends Fallback
{