protected function _isUuid($path)
    {
        $path = $this->_getPathObject($path);

        if (!$this->_hasProperty($path)) {
            throw new CrudException("Document member '$path->dotted' does not exist");
        }

        $id = $this->_getProperty($path->dotted);

        if (Validation::uuid($id)) {
            return true;
        }

        return false;
    }
protected function _isUuid($path)
    {
        $path = $this->_getPathObject($path);

        if (!$this->_hasProperty($path)) {
            throw new CrudException("Document member '$path->dotted' does not exist");
        }

        $id = $this->_getProperty($path->dotted);

        if (Validation::uuid($id)) {
            return true;
        }

        return false;
    }
protected function _isUuid ( $ path ) { $ path = $ this -> _getPathObject ( $ path ) ; if ( ! $ this -> _hasProperty ( $ path ) ) { throw new CrudException ( "Document member '$path->dotted' does not exist" ) ; } $ id = $ this -> _getProperty ( $ path -> dotted ) ; if ( Validation :: uuid ( $ id ) ) { return true ; } return false ; }
Checks if a document property is a valid UUID.

@throws \Crud\Error\Exception\CrudException
@param string $path Dot separated path of the property
@return bool
Checks if a document property is a valid UUID .