Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
EntityFake.php
Go to the documentation of this file.
1 <?php
7 
13 {
17  private $id;
18 
22  private $attributeFoo;
23 
27  private $attributeBar;
28 
34  public function __construct(int $id, string $attributeFoo, string $attributeBar)
35  {
36  $this->id = $id;
37  $this->attributeFoo = $attributeFoo;
38  $this->attributeBar = $attributeBar;
39  }
40 
44  public function getId(): int
45  {
46  return $this->id;
47  }
48 
52  public function getAttributeFoo(): string
53  {
54  return $this->attributeFoo;
55  }
56 
60  public function getAttributeBar(): string
61  {
62  return $this->attributeBar;
63  }
64 }
__construct(int $id, string $attributeFoo, string $attributeBar)
Definition: EntityFake.php:34