protected function initiate(&$params)
    {
        $name   = $this->model->name;
        $owner  = isset($this->model->new_value['name']) ? $this->model->new_value['name'] : $this->model->owner_id;
        $user   = is_null($this->model->user) ? 'Automation' : anchor('users/' . $this->model->user_id, '#' . $this->model->user->id . ' ' . $this->model->user->fullname);
        $params = [
            'owner_id' => $owner,
            'user_id'  => $this->model->user_id,
            'user'     => $user
        ];
        $params = array_merge($params, (array) $this->model->additional_params);
        return $name;
    }
protected function initiate(&$params)
    {
        $name   = $this->model->name;
        $owner  = isset($this->model->new_value['name']) ? $this->model->new_value['name'] : $this->model->owner_id;
        $user   = is_null($this->model->user) ? 'Automation' : anchor('users/' . $this->model->user_id, '#' . $this->model->user->id . ' ' . $this->model->user->fullname);
        $params = [
            'owner_id' => $owner,
            'user_id'  => $this->model->user_id,
            'user'     => $user
        ];
        $params = array_merge($params, (array) $this->model->additional_params);
        return $name;
    }
protected function initiate ( & $ params ) { $ name = $ this -> model -> name ; $ owner = isset ( $ this -> model -> new_value [ 'name' ] ) ? $ this -> model -> new_value [ 'name' ] : $ this -> model -> owner_id ; $ user = is_null ( $ this -> model -> user ) ? 'Automation' : anchor ( 'users/' . $ this -> model -> user_id , '#' . $ this -> model -> user -> id . ' ' . $ this -> model -> user -> fullname ) ; $ params = [ 'owner_id' => $ owner , 'user_id' => $ this -> model -> user_id , 'user' => $ user ] ; $ params = array_merge ( $ params , ( array ) $ this -> model -> additional_params ) ; return $ name ; }
Inititate params container

@param array $params
@return String
Inititate params container