public function setSalt(string $salt, string $position = self::SALT_AFTER): self
    {
        $this->checkSaltPositionArgument($position);
        $this->salt = $salt;
        $this->saltPosition = $position;

        return $this;
    }
public function setSalt(string $salt, string $position = self::SALT_AFTER): self
    {
        $this->checkSaltPositionArgument($position);
        $this->salt = $salt;
        $this->saltPosition = $position;

        return $this;
    }
public function setSalt ( string $ salt , string $ position = self :: SALT_AFTER ) : self { $ this -> checkSaltPositionArgument ( $ position ) ; $ this -> salt = $ salt ; $ this -> saltPosition = $ position ; return $ this ; }
Sets the salt if any was used

@return $this
Sets the salt if any was used