Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
ResolveInfoFactory.php
Go to the documentation of this file.
1 <?php
6 declare(strict_types=1);
7 
9 
14 {
21  public function create(\GraphQL\Type\Definition\ResolveInfo $info) : ResolveInfo
22  {
23  $values = [];
24  foreach (get_object_vars($info) as $key => $value) {
25  $values[$key] = $value;
26  }
27 
28  return new ResolveInfo($values);
29  }
30 }
$values
Definition: options.phtml:88
$value
Definition: gender.phtml:16
create(\GraphQL\Type\Definition\ResolveInfo $info)
foreach( $_productCollection as $_product)() ?>" class $info
Definition: listing.phtml:52