public function setStoragePath($path) {
		$dir  = pathinfo($path, PATHINFO_DIRNAME);
		$name = pathinfo($path, PATHINFO_BASENAME);
		
		$dir = realpath($dir);
		
		if ($dir === false) {
			throw new Exceptions\MetadataError('Invalid path: "' . $path . '"');
		}
		
		$this->metadataPath = $dir . DIRECTORY_SEPARATOR . $name;
	}
public function setStoragePath($path) {
		$dir  = pathinfo($path, PATHINFO_DIRNAME);
		$name = pathinfo($path, PATHINFO_BASENAME);
		
		$dir = realpath($dir);
		
		if ($dir === false) {
			throw new Exceptions\MetadataError('Invalid path: "' . $path . '"');
		}
		
		$this->metadataPath = $dir . DIRECTORY_SEPARATOR . $name;
	}
public function setStoragePath ( $ path ) { $ dir = pathinfo ( $ path , PATHINFO_DIRNAME ) ; $ name = pathinfo ( $ path , PATHINFO_BASENAME ) ; $ dir = realpath ( $ dir ) ; if ( $ dir === false ) { throw new Exceptions \ MetadataError ( 'Invalid path: "' . $ path . '"' ) ; } $ this -> metadataPath = $ dir . DIRECTORY_SEPARATOR . $ name ; }
Set the metadata storage path

@param string $path
Set the metadata storage path