src/mako/database/midgard/ORM.php
public function setColumnValue(string $name, $value): void
	{
		$value = $this->cast($name, $value);

		if(method_exists($this, $name . 'Mutator'))
		{
			$this->columns[$name] = $this->{$name . 'Mutator'}($value);
		}
		else
		{
			$this->columns[$name] = $value;
		}
	}
public function setColumnValue(string $name, $value): void
	{
		$value = $this->cast($name, $value);

		if(method_exists($this, $name . 'Mutator'))
		{
			$this->columns[$name] = $this->{$name . 'Mutator'}($value);
		}
		else
		{
			$this->columns[$name] = $value;
		}
	}
public function setColumnValue ( string $ name , $ value ) : void { $ value = $ this -> cast ( $ name , $ value ) ; if ( method_exists ( $ this , $ name . 'Mutator' ) ) { $ this -> columns [ $ name ] = $ this -> { $ name . 'Mutator' } ( $ value ) ; } else { $ this -> columns [ $ name ] = $ value ; } }
Sets a column value.

@param string $name  Column name
@param mixed  $value Column value
Sets a column value .