for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace PhpCfdi\Finkok\Services\Registration;
use PhpCfdi\Finkok\Services\AbstractResult;
use stdClass;
class AssignResult extends AbstractResult
{
public function __construct(stdClass $data)
parent::__construct($data, 'assignResult');
}
public function success(): bool
return boolval($this->get('success'));
public function credit(): int
return intval($this->get('credit'));
public function message(): string
return $this->get('message');