filestack/Filelink.php
public function border($background = 'white', $color = 'black', $width=2)
    {
        $options = [
            'b' => $background,
            'c' => $color,
            'w' => $width
        ];

        // call TransformationMixin function
        $this->setTransformUrl('border', $options);

        return $this;
    }
public function border($background = 'white', $color = 'black', $width=2)
    {
        $options = [
            'b' => $background,
            'c' => $color,
            'w' => $width
        ];

        // call TransformationMixin function
        $this->setTransformUrl('border', $options);

        return $this;
    }
public function border ( $ background = 'white' , $ color = 'black' , $ width = 2 ) { $ options = [ 'b' => $ background , 'c' => $ color , 'w' => $ width ] ; // call TransformationMixin function $ this -> setTransformUrl ( 'border' , $ options ) ; return $ this ; }
Set this Filelink's transform_url to include border task

@param string    $background     Sets the background color to display behind
the image. This can be the word for a color,
or the hex color code, e.g. ('red' or 'FF0000')
@param string    $color          Sets the color of the border to render around
the image. This can be the word for a color,
or the hex color code, e.g. ('red' or 'FF0000')
@param int       $width          Sets the width in pixels of the border to render
around the image. The value for this parameter
must be in a range from 1 to 1000.

@throws FilestackException   if API call fails, e.g 404 file not found

@return Filestack/Filelink
Set this Filelink s transform_url to include border task