for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @copyright Copyright (c) 2015 ublaboo <[email protected]>
* @author Pavel Janda <[email protected]>
* @package Ublaboo
*/
namespace Ublaboo\DataGrid\Traits;
trait TButtonCaret
{
* @var boolean
protected $caret = TRUE;
* Should be a "caret" present in status dropdown?
* @param bool $use_caret
* @return static
public function setCaret($use_caret)
$this->caret = (bool) $use_caret;
return $this;
}
* @return boolean
public function hasCaret()
return $this->caret;