code: public function setRawPhoto($photo)
      {
          if (empty($photo)) {
              return true;
          }
          if (!($photo instanceof FileInterface)) {
              $photo = RawFile::createRawInstance($photo);
          }
  
          return $this->setStorage($photo);
      }
docs: Set raw photo.
  
  @param [[@doctodo param_type:photo]] $photo [[@doctodo param_description:photo]]
  
  @return [[@doctodo return_type:setRawPhoto]] [[@doctodo return_description:setRawPhoto]]