method __construct documentation in bbn\File\Image

Construct

function($file, bbn\File\System $fs = NULL) { parent::__construct($file, $fs); if (!\in_array($this->ext, bbn\File\Image::$allowed_extensions)) { $this->name = false; $this->path = false; $this->file = false; $this->size = false; $this->title = false; } elseif (!self::$imageClassMode) { self::setImageClassMode(class_exists('\\Imagick') ? 'imagick' : 'gd'); } }

Construct BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.