Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
framework
Setup
Declaration
Schema
Dto
Columns
Blob.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Framework\Setup\Declaration\Schema\Dto\Columns
;
7
8
use
Magento\Framework\Setup\Declaration\Schema\Dto\Column
;
9
use
Magento\Framework\Setup\Declaration\Schema\Dto\ElementDiffAwareInterface
;
10
use
Magento\Framework\Setup\Declaration\Schema\Dto\Table
;
11
17
class
Blob
extends
Column
implements
18
ElementDiffAwareInterface
,
19
ColumnNullableAwareInterface
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
}
Magento\Framework\Setup\Declaration\Schema\Dto\ElementInterface\getType
getType()
Magento\Framework\Setup\Declaration\Schema\Dto\Column
Definition:
Column.php:11
Magento\Framework\Setup\Declaration\Schema\Dto\Columns
Definition:
Blob.php:6
Magento\Framework\Setup\Declaration\Schema\Dto\Columns\Blob\__construct
__construct(string $name, string $type, Table $table, bool $nullable=true, string $comment=null, string $onCreate=null)
Definition:
Blob.php:36
Magento\Framework\Setup\Declaration\Schema\Dto\Columns\ColumnNullableAwareInterface
Definition:
ColumnNullableAwareInterface.php:12
Magento\Framework\Setup\Declaration\Schema\Dto\Columns\Blob\getDiffSensitiveParams
getDiffSensitiveParams()
Definition:
Blob.php:61
Magento\Framework\Setup\Declaration\Schema\Dto\Table
Definition:
Table.php:17
$type
$type
Definition:
item.phtml:13
Magento\Framework\Setup\Declaration\Schema\Dto\Column\getComment
getComment()
Definition:
Column.php:88
Magento\Framework\Setup\Declaration\Schema\Dto\Columns\Blob\isNullable
isNullable()
Definition:
Blob.php:53
Magento\Framework\Setup\Declaration\Schema\Dto\ElementDiffAwareInterface
Definition:
ElementDiffAwareInterface.php:13
$table
$table
Definition:
trigger.php:14
Magento\Framework\Setup\Declaration\Schema\Dto\Columns\Blob
Definition:
Blob.php:17
$name
if(!isset($_GET['name'])) $name
Definition:
log.php:14