Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
ImageContent.php
Go to the documentation of this file.
1 <?php
7 namespace Magento\Framework\Api;
8 
10 
17 {
23  public function getBase64EncodedData()
24  {
25  return $this->_get(self::BASE64_ENCODED_DATA);
26  }
27 
33  public function getType()
34  {
35  return $this->_get(self::TYPE);
36  }
37 
43  public function getName()
44  {
45  return $this->_get(self::NAME);
46  }
47 
54  public function setBase64EncodedData($data)
55  {
56  return $this->setData(self::BASE64_ENCODED_DATA, $data);
57  }
58 
65  public function setType($mimeType)
66  {
67  return $this->setData(self::TYPE, $mimeType);
68  }
69 
76  public function setName($name)
77  {
78  return $this->setData(self::NAME, $name);
79  }
80 }
if(!isset($_GET['name'])) $name
Definition: log.php:14