for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
/**
* Api Class
* @category Ticaje
* @author Max Demian <[email protected]>
*/
namespace Ticaje\AeSdk\Api\Traits\Mediator;
use Ticaje\AeSdk\Infrastructure\Interfaces\Provider\Request\RequestDtoInterface as DtoInterface;
use Ticaje\Contract\Patterns\Interfaces\Decorator\DecoratorInterface;
* Trait ApiGetMediator
* @package Ticaje\AeSdk\Api\Traits\Mediator
trait ApiGetMediator
{
* @inheritDoc
* Fetch a list of {resource} from AE API.
public function list(DtoInterface $generalRequest, array $serviceRequest): DecoratorInterface
return $this->launch($generalRequest, $serviceRequest, __FUNCTION__);
launch()
If this is a false-positive, you can also ignore this issue in your code via the ignore-call annotation
ignore-call
return $this->/** @scrutinizer ignore-call */ launch($generalRequest, $serviceRequest, __FUNCTION__);
}
* Fetch {resource} details from AE API.
public function get(DtoInterface $generalRequest, array $serviceRequest): DecoratorInterface
public function info(DtoInterface $generalRequest, array $serviceRequest): DecoratorInterface