for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the Ivory Base64 File package.
*
* (c) Eric GELOEN <[email protected]>
* For the full copyright and license information, please read the LICENSE
* file that was distributed with this source code.
*/
namespace Ivory\Base64FileBundle\Model;
use Symfony\Component\HttpFoundation\File\File;
/**
* @author GeLo <[email protected]>
class Base64File extends File implements Base64FileInterface
{
use Base64FileTrait;
* @param string|resource $value
* @param bool $encoded
public function __construct($value, $encoded = true)
parent::__construct($this->load($value, $encoded));
}