for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @package Fuel\Common
* @version 2.0
* @author Fuel Development Team
* @license MIT License
* @copyright 2010 - 2015 Fuel Development Team
* @link http://fuelphp.com
*/
namespace Fuel\Common\Table;
* Defines a cell of a Row
*
* @since 2.0
class Cell
{
* @var mixed The content of the Cell
protected $content;
* @var array Contains the attributes to associate with this table.
protected $attributes = [];
* @param mixed $content
public function __construct($content = null)
$this->setContent($content);
}
* Returns the content of the Cell
* @return mixed
public function getContent()
return $this->content;
* Sets the content of the Cell
* @return $this
public function setContent($content)
$this->content = $content;
return $this;
* Returns the attributes of this Cell
* @return array
public function getAttributes()
return $this->attributes;
* Sets the atributes of the Cell
* @param array $newAttributes
public function setAttributes(array $newAttributes)
$this->attributes = $newAttributes;