private function getWatermak()
    {
        // Verify watermark
        $watermarkMediaID = settings("watermark");
        if(!$watermarkMediaID) {
            return $this->response("No watermark is available. Go to settings and set a watermark", 500);
        }

        $watermarImage = Media::find($watermarkMediaID);
        if(!$watermarImage) {
            return $this->response("Watermark Image is not selected. Please go to settings and choose a new watermark", 500);
        }

        $watermarkUrl = $watermarImage->url;
        if(!File::exists(base_path($watermarkUrl))) {
            return $this->response("Watermark URL is not avialable. Please go to settings and choose a new watermark", 500);
        }

        return $watermarImage;
    }
private function getWatermak()
    {
        // Verify watermark
        $watermarkMediaID = settings("watermark");
        if(!$watermarkMediaID) {
            return $this->response("No watermark is available. Go to settings and set a watermark", 500);
        }

        $watermarImage = Media::find($watermarkMediaID);
        if(!$watermarImage) {
            return $this->response("Watermark Image is not selected. Please go to settings and choose a new watermark", 500);
        }

        $watermarkUrl = $watermarImage->url;
        if(!File::exists(base_path($watermarkUrl))) {
            return $this->response("Watermark URL is not avialable. Please go to settings and choose a new watermark", 500);
        }

        return $watermarImage;
    }
private function getWatermak ( ) { // Verify watermark $ watermarkMediaID = settings ( "watermark" ) ; if ( ! $ watermarkMediaID ) { return $ this -> response ( "No watermark is available. Go to settings and set a watermark" , 500 ) ; } $ watermarImage = Media :: find ( $ watermarkMediaID ) ; if ( ! $ watermarImage ) { return $ this -> response ( "Watermark Image is not selected. Please go to settings and choose a new watermark" , 500 ) ; } $ watermarkUrl = $ watermarImage -> url ; if ( ! File :: exists ( base_path ( $ watermarkUrl ) ) ) { return $ this -> response ( "Watermark URL is not avialable. Please go to settings and choose a new watermark" , 500 ) ; } return $ watermarImage ; }
Get watermark.

@return array
Get watermark .