entity/traits/Properties.php
public function setProperty($property, $value)
    {
        $this->properties[$property] = ($this->hasCast($property)) ? $this->castSetProperty($property, $value) : $value;
        return $this;
    }
public function setProperty($property, $value)
    {
        $this->properties[$property] = ($this->hasCast($property)) ? $this->castSetProperty($property, $value) : $value;
        return $this;
    }
Set a given property on the entity.

@param  string $property
@param  mixed $value
@return $this