protected function getNonceSalt()
    {
        // Allow users to set their own nonce
        if (!is_null($this->getConfig('nonce'))) {
            return $this->request->generateNonceKey($this->getConfig('nonce'));
        // Use the entity if it is present
        } elseif (!is_null($this->associatedEntity)) {
            return $this->request->generateNonceKey($this->associatedEntity);
        }

        // Fallback to something custom for the Helper
        return $this->request->generateNonceKey();
    }
protected function getNonceSalt()
    {
        // Allow users to set their own nonce
        if (!is_null($this->getConfig('nonce'))) {
            return $this->request->generateNonceKey($this->getConfig('nonce'));
        // Use the entity if it is present
        } elseif (!is_null($this->associatedEntity)) {
            return $this->request->generateNonceKey($this->associatedEntity);
        }

        // Fallback to something custom for the Helper
        return $this->request->generateNonceKey();
    }
protected function getNonceSalt ( ) { // Allow users to set their own nonce if ( ! is_null ( $ this -> getConfig ( 'nonce' ) ) ) { return $ this -> request -> generateNonceKey ( $ this -> getConfig ( 'nonce' ) ) ; // Use the entity if it is present } elseif ( ! is_null ( $ this -> associatedEntity ) ) { return $ this -> request -> generateNonceKey ( $ this -> associatedEntity ) ; } // Fallback to something custom for the Helper return $ this -> request -> generateNonceKey ( ) ; }
Generates a nonce salt
@return string
Generates a nonce salt