protected function applyPassword($password)
    {
        // If the model has a mutator for the password field, we
        // can assume hashing passwords is taken care of.
        // Otherwise, we will hash it normally.
        $password = $this->model->hasSetMutator($this->column()) ? $password : Hash::make($password);

        $this->model->setAttribute($this->column(), $password);
    }
protected function applyPassword($password)
    {
        // If the model has a mutator for the password field, we
        // can assume hashing passwords is taken care of.
        // Otherwise, we will hash it normally.
        $password = $this->model->hasSetMutator($this->column()) ? $password : Hash::make($password);

        $this->model->setAttribute($this->column(), $password);
    }
protected function applyPassword ( $ password ) { // If the model has a mutator for the password field, we // can assume hashing passwords is taken care of. // Otherwise, we will hash it normally. $ password = $ this -> model -> hasSetMutator ( $ this -> column ( ) ) ? $ password : Hash :: make ( $ password ) ; $ this -> model -> setAttribute ( $ this -> column ( ) , $ password ) ; }
Applies the password to the users model.

@param string $password

@return void
Applies the password to the users model .