for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Trait NameTrait
*
* @filesource NameTrait.php
* @created 05.06.2017
* @package chillerlan\Database\Query\Traits
* @author Smiley <[email protected]>
* @copyright 2017 Smiley
* @license MIT
*/
namespace chillerlan\Database\Query\Traits;
trait NameTrait{
protected $name;
protected function _name(string $name = null){
$name = trim($name);
if(!empty($name)){
$this->name = $name;
}
return $this;