original_string: public function preparePeoplesDataForInsert($input) {
  
          $data = [];
  
          $data['user_id']       = null;  // Set users up as PEOPLES in the admin
          $data['title']         = $input['first_name']." ".$input['surname'];
          $data['salutation']    = "";
          $data['first_name']    = $input['first_name'];
          $data['middle_name']   = "";
          $data['surname']       = $input['surname'];
          $data['position']      = "";
          $data['description']   = "";
          $data['comments']      = "Created by front-end subscription to an email list";
  
          $data['birthday']      = null;
          $data['anniversary']   = null;
  
          $data['created_at']    = Carbon::now();
          $data['created_by']    = $this->userRepository->getFirstAmongEqualsUserID();
          $data['updated_at']    = Carbon::now();
          $data['updated_by']    = $this->userRepository->getFirstAmongEqualsUserID();
  
          $data['profile']       = null;
          $data['featured_image'] = null;
  
          return $data;
      }
code: public function preparePeoplesDataForInsert($input) {
  
          $data = [];
  
          $data['user_id']       = null;  // Set users up as PEOPLES in the admin
          $data['title']         = $input['first_name']." ".$input['surname'];
          $data['salutation']    = "";
          $data['first_name']    = $input['first_name'];
          $data['middle_name']   = "";
          $data['surname']       = $input['surname'];
          $data['position']      = "";
          $data['description']   = "";
          $data['comments']      = "Created by front-end subscription to an email list";
  
          $data['birthday']      = null;
          $data['anniversary']   = null;
  
          $data['created_at']    = Carbon::now();
          $data['created_by']    = $this->userRepository->getFirstAmongEqualsUserID();
          $data['updated_at']    = Carbon::now();
          $data['updated_by']    = $this->userRepository->getFirstAmongEqualsUserID();
  
          $data['profile']       = null;
          $data['featured_image'] = null;
  
          return $data;
      }
code_tokens: public function preparePeoplesDataForInsert ( $ input ) { $ data = [ ] ; $ data [ 'user_id' ] = null ; // Set users up as PEOPLES in the admin $ data [ 'title' ] = $ input [ 'first_name' ] . " " . $ input [ 'surname' ] ; $ data [ 'salutation' ] = "" ; $ data [ 'first_name' ] = $ input [ 'first_name' ] ; $ data [ 'middle_name' ] = "" ; $ data [ 'surname' ] = $ input [ 'surname' ] ; $ data [ 'position' ] = "" ; $ data [ 'description' ] = "" ; $ data [ 'comments' ] = "Created by front-end subscription to an email list" ; $ data [ 'birthday' ] = null ; $ data [ 'anniversary' ] = null ; $ data [ 'created_at' ] = Carbon :: now ( ) ; $ data [ 'created_by' ] = $ this -> userRepository -> getFirstAmongEqualsUserID ( ) ; $ data [ 'updated_at' ] = Carbon :: now ( ) ; $ data [ 'updated_by' ] = $ this -> userRepository -> getFirstAmongEqualsUserID ( ) ; $ data [ 'profile' ] = null ; $ data [ 'featured_image' ] = null ; return $ data ; }
docstring: Prepare the data for creating a new record in the "peoplesl" db table
  
  @param   array   $input      POST and processed vars merged into one array
  @return  array
docstring_tokens: Prepare the data for creating a new record in the peoplesl db table