for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Liip\ImagineBundle\Model;
use Liip\ImagineBundle\Binary\BinaryInterface;
class Binary implements BinaryInterface
{
/**
* @var string
*/
protected $content;
protected $mimeType;
protected $format;
* @param string $content
* @param string $mimeType
* @param string $format
public function __construct($content, $mimeType, $format = null)
$this->content = $content;
$this->mimeType = $mimeType;
$this->format = $format;
}
* @return string
public function getContent()
return $this->content;
public function getMimeType()
return $this->mimeType;
public function getFormat()
return $this->format;