src/Uploads/Image.php
protected function fill($array)
    {
        if (is_null($array['file'])) {
            return;
        }
        
        $this->originalImage = ImageManager::make($array['file']);
        $this->image = $this->format($this->originalImage, $this->properties);
        
        $this->name = ($array['name']) ? $array['name'] : uniqid();
    }
protected function fill($array)
    {
        if (is_null($array['file'])) {
            return;
        }
        
        $this->originalImage = ImageManager::make($array['file']);
        $this->image = $this->format($this->originalImage, $this->properties);
        
        $this->name = ($array['name']) ? $array['name'] : uniqid();
    }
protected function fill ( $ array ) { if ( is_null ( $ array [ 'file' ] ) ) { return ; } $ this -> originalImage = ImageManager :: make ( $ array [ 'file' ] ) ; $ this -> image = $ this -> format ( $ this -> originalImage , $ this -> properties ) ; $ this -> name = ( $ array [ 'name' ] ) ? $ array [ 'name' ] : uniqid ( ) ; }
Fill object

@return void
Fill object