protected function readNonceValue($nonce)
    {
        $value = null;

        if (null === $this->registryRepository) {
            if (true === is_readable($this->nonceDir.DIRECTORY_SEPARATOR.$nonce)) {
                $value = file_get_contents($this->nonceDir.DIRECTORY_SEPARATOR.$nonce);
            }
        } else {
            $value = $this->getRegistry($nonce)->getValue();
        }

        if (null !== $value) {
            $value = explode(';', $value);
        }

        return $value;
    }
protected function readNonceValue($nonce)
    {
        $value = null;

        if (null === $this->registryRepository) {
            if (true === is_readable($this->nonceDir.DIRECTORY_SEPARATOR.$nonce)) {
                $value = file_get_contents($this->nonceDir.DIRECTORY_SEPARATOR.$nonce);
            }
        } else {
            $value = $this->getRegistry($nonce)->getValue();
        }

        if (null !== $value) {
            $value = explode(';', $value);
        }

        return $value;
    }
protected function readNonceValue ( $ nonce ) { $ value = null ; if ( null === $ this -> registryRepository ) { if ( true === is_readable ( $ this -> nonceDir . DIRECTORY_SEPARATOR . $ nonce ) ) { $ value = file_get_contents ( $ this -> nonceDir . DIRECTORY_SEPARATOR . $ nonce ) ; } } else { $ value = $ this -> getRegistry ( $ nonce ) -> getValue ( ) ; } if ( null !== $ value ) { $ value = explode ( ';' , $ value ) ; } return $ value ; }
Returns the nonce value if found, NULL otherwise.

@param type $nonce

@return NULL|int
Returns the nonce value if found NULL otherwise .