Contao\Picture::__construct PHP 메소드

__construct() 공개 메소드

Create a new object to handle a picture element
public __construct ( contao\File $file )
$file contao\File A file instance of the source image
    public function __construct(File $file)
    {
        $this->image = new \Image($file);
    }