src/Models/Concerns/HasFeaturedImage.php
/**
     * Delete the models's featured image.
     *
     * @return void
     */
Delete the models's featured image.
@return void
Delete the models ' s featured image . @return void
public function deleteFeaturedImage()
    {
        Storage::disk($this->featuredImageDisk())->delete($this->featured_image_path);
        $this->forceFill([
            'featured_image_path' => null,
        ])->save();
    }
public function deleteFeaturedImage ( ) { Storage :: disk ( $ this -> featuredImageDisk ( ) ) -> delete ( $ this -> featured_image_path ) ; $ this -> forceFill ( [ 'featured_image_path' => null , ] ) -> save ( ) ; }
Delete the models's featured image.
Delete the models ' s featured image .