Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Blob.php
Go to the documentation of this file.
1 <?php
7 
11 
17 class Blob extends Column implements
20 {
24  private $nullable;
25 
36  public function __construct(
37  string $name,
38  string $type,
39  Table $table,
40  bool $nullable = true,
41  string $comment = null,
42  string $onCreate = null
43  ) {
44  parent::__construct($name, $type, $table, $comment, $onCreate);
45  $this->nullable = $nullable;
46  }
47 
53  public function isNullable()
54  {
55  return $this->nullable;
56  }
57 
61  public function getDiffSensitiveParams()
62  {
63  return [
64  'type' => $this->getType(),
65  'nullable' => $this->isNullable(),
66  'comment' => $this->getComment()
67  ];
68  }
69 }
__construct(string $name, string $type, Table $table, bool $nullable=true, string $comment=null, string $onCreate=null)
Definition: Blob.php:36
$type
Definition: item.phtml:13
$table
Definition: trigger.php:14
if(!isset($_GET['name'])) $name
Definition: log.php:14