update v1.0.3.3
This commit is contained in:
17
vendor/chumper/datatable/src/Chumper/Datatable/Columns/TextColumn.php
vendored
Normal file
17
vendor/chumper/datatable/src/Chumper/Datatable/Columns/TextColumn.php
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php namespace Chumper\Datatable\Columns;
|
||||
|
||||
class TextColumn extends BaseColumn {
|
||||
|
||||
private $text;
|
||||
|
||||
function __construct($name, $text)
|
||||
{
|
||||
parent::__construct($name);
|
||||
$this->text = $text;
|
||||
}
|
||||
|
||||
public function run($model)
|
||||
{
|
||||
return $this->text;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user