for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace Anomaly\Streams\Platform\Ui\Table\Component\Row;
use Anomaly\Streams\Platform\Ui\Button\ButtonCollection;
use Anomaly\Streams\Platform\Ui\Table\Component\Row\Contract\RowInterface;
use Anomaly\Streams\Platform\Ui\Table\Table;
use Illuminate\Support\Collection;
/**
* Class Row
*
* @link http://anomaly.is/streams-platform
* @author AnomalyLabs, Inc. <[email protected]>
* @author Ryan Thompson <[email protected]>
* @package Anomaly\Streams\Platform\Ui\Table\Component\Row
*/
class Row implements RowInterface
{
* The row key.
* @var null
protected $key = null;
* The row entry.
* @var mixed
protected $entry = null;
* The row table.
* @var null|Table
protected $table = null;
* The row columns.
* @var Collection
protected $columns;
* The row buttons.
* @var ButtonCollection
protected $buttons;
* Get the key.
* @return null
public function getKey()
return $this->key;
}
* Set the key.
* @param $key
* @return $this
public function setKey($key)
$this->key = $key;
return $this;
* Set the row buttons.
* @param $buttons
public function setButtons($buttons)
$this->buttons = $buttons;
* Get the row buttons.
* @return mixed
public function getButtons()
return $this->buttons;
* Set the row columns.
* @param Collection $columns
public function setColumns(Collection $columns)
$this->columns = $columns;
* Get the row columns.
public function getColumns()
return $this->columns;
* Get the table.
* @return Table|null
public function getTable()
return $this->table;
* Set the table.
* @param Table $table
public function setTable(Table $table)
$this->table = $table;
* Set the row entry.
* @param $entry
public function setEntry($entry)
$this->entry = $entry;
* Get the row entry.
public function getEntry()
return $this->entry;