original_string: protected function _createData(callable $func): array
      {
          $data = \call_user_func($func);
          if(!\is_array($data) && !$data instanceof \Traversable) {
              return []; //ignore invalid results
          }
          $return = [];
          foreach($data as $key => $value) {
              $return[$key] = [
                  'value' => $value,
                  'expires' => null
              ];
          }
          return $return;
      }
code: protected function _createData(callable $func): array
      {
          $data = \call_user_func($func);
          if(!\is_array($data) && !$data instanceof \Traversable) {
              return []; //ignore invalid results
          }
          $return = [];
          foreach($data as $key => $value) {
              $return[$key] = [
                  'value' => $value,
                  'expires' => null
              ];
          }
          return $return;
      }
code_tokens: protected function _createData ( callable $ func ) : array { $ data = \ call_user_func ( $ func ) ; if ( ! \ is_array ( $ data ) && ! $ data instanceof \ Traversable ) { return [ ] ; //ignore invalid results } $ return = [ ] ; foreach ( $ data as $ key => $ value ) { $ return [ $ key ] = [ 'value' => $ value , 'expires' => null ] ; } return $ return ; }
docstring: Calls the creator function of the items of new cache pools and transforms
  it into our internal used structure.
  
  @param callable $func
  The creator function
  @return array
  The data
docstring_tokens: Calls the creator function of the items of new cache pools and transforms it into our internal used structure .