for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Application Class
* @author Max Demian <[email protected]>
*/
declare(strict_types=1);
namespace Ticaje\AliexpressConsumer\Application\UseCase\Command;
use Ticaje\AeSdk\Infrastructure\Interfaces\Provider\Request\RequestDtoInterface;
use Ticaje\AliexpressConsumer\Application\Interfaces\UseCaseCommandInterface;
* Class UseCaseCommand
* @package Ticaje\AliexpressConsumer\Application\UseCase\Command
class UseCaseCommand implements UseCaseCommandInterface
{
private $request;
private $credentials;
public function setRequest(RequestDtoInterface $dto): UseCaseCommandInterface
$this->request = $dto;
return $this;
}
public function setCredentials(RequestDtoInterface $dto): UseCaseCommandInterface
$this->credentials = $dto;
public function getRequest(): RequestDtoInterface
return $this->request;
public function getCredentials(): RequestDtoInterface
return $this->credentials;