/**
 * Method for set option of generate thumbnail method
 *
 * @param   boolean  $quality  True for best quality. False for best speed.
 *
 * @return  void
 *
 * @since   3.7.0
 */
public function setThumbnailGenerate($quality = true)
{
    $this->generateBestQuality = (bool) $quality;
}