public function from($from)
    {
        $this->from = is_object($from) ? $from->getKey() : $from;

        return $this;
    }
public function from($from)
    {
        $this->from = is_object($from) ? $from->getKey() : $from;

        return $this;
    }
public function from ( $ from ) { $ this -> from = is_object ( $ from ) ? $ from -> getKey ( ) : $ from ; return $ this ; }
Set Sender.

@param int $from

@return $this
Set Sender .