hendrikmaus/reynaldo

View on GitHub
src/Elements/AssetElement.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
<?php

namespace Hmaus\Reynaldo\Elements;

class AssetElement extends BaseElement implements ApiElement, ApiAsset
{
    public function getContentType()
    {
        return $this->getAttribute('contentType');
    }

    public function getBody()
    {
        return $this->getContent();
    }
}