| Total Complexity | 4 | 
| Total Lines | 40 | 
| Duplicated Lines | 0 % | 
| Coverage | 100% | 
| Changes | 1 | ||
| Bugs | 0 | Features | 1 | 
| 1 | <?php  | 
            ||
| 11 | class DalliApiBody extends BaseXmlObject  | 
            ||
| 12 | { | 
            ||
| 13 | /** @var string */  | 
            ||
| 14 | protected $authToken;  | 
            ||
| 15 | /** @var string */  | 
            ||
| 16 | protected $apiMethodName = 'testMehod';  | 
            ||
| 17 | /** @var SimpleXMLElement */  | 
            ||
| 18 | protected $mainElement;  | 
            ||
| 19 | |||
| 20 | 1 | public function __construct(string $apiMethodName, string $authToken)  | 
            |
| 27 | 1 | }  | 
            |
| 28 | |||
| 29 | /**  | 
            ||
| 30 | * @param BaseXmlObject $object  | 
            ||
| 31 | * @return $this  | 
            ||
| 32 | * @throws ReflectionException  | 
            ||
| 33 | */  | 
            ||
| 34 | 1 | public function add(BaseXmlObject $object): self  | 
            |
| 42 | }  | 
            ||
| 43 | |||
| 44 | /**  | 
            ||
| 45 | * @param BaseXmlObject|null $object  | 
            ||
| 46 | * @return string  | 
            ||
| 47 | */  | 
            ||
| 48 | 1 | public function getAsXmlString(BaseXmlObject $object = null): string  | 
            |
| 53 |