for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Graze\CiffRenderer\Parser\FieldParser;
use Graze\CiffRenderer\Parser\FieldParser\FieldParserInterface;
class FieldParserGraphicPrimitive extends AbstractFieldParser implements FieldParserInterface
{
/**
* @return string
*/
public function getShape()
return (string) $this->xmlField->Graphic->Primitive->Shape;
}
* @return int
public function getLineWeight()
$weight = (float) $this->xmlField->Graphic->Primitive->LineW;
return (int) round($weight * $this->scale);