public function setPath(array $path)
    {
        if (count($path) === 0) {
            $msg = "The path argument must be a non-empty array.";
            throw new InvalidArgumentException($msg);
        } else {
            $this->path = $path;
        }
    }
public function setPath(array $path)
    {
        if (count($path) === 0) {
            $msg = "The path argument must be a non-empty array.";
            throw new InvalidArgumentException($msg);
        } else {
            $this->path = $path;
        }
    }
public function setPath ( array $ path ) { if ( count ( $ path ) === 0 ) { $ msg = "The path argument must be a non-empty array." ; throw new InvalidArgumentException ( $ msg ) ; } else { $ this -> path = $ path ; } }
Set the descriptive path of the MetadataValue.

@param array $path An array of Path Components.
@throws InvalidArgumentException If $path is an empty array.
Set the descriptive path of the MetadataValue .