public function createPathBuilder($name, array $options = []) {
		$className = App::className($name, 'Storage/PathBuilder', 'PathBuilder');
		if (!class_exists($className)) {
			$className = App::className('Burzum/FileStorage.' . $name, 'Storage/PathBuilder', 'PathBuilder');
		}

		if (!class_exists($className)) {
			throw new RuntimeException(sprintf('Could not find path builder "%s"!', $name));
		}

		$pathBuilder = new $className($options);
		if (!$pathBuilder instanceof PathBuilderInterface) {
			throw new RuntimeException(sprintf('Path builder class "%s" does not implement the PathBuilderInterface interface!', $name));
		}

		return $this->_pathBuilder = $pathBuilder;
	}
public function createPathBuilder($name, array $options = []) {
		$className = App::className($name, 'Storage/PathBuilder', 'PathBuilder');
		if (!class_exists($className)) {
			$className = App::className('Burzum/FileStorage.' . $name, 'Storage/PathBuilder', 'PathBuilder');
		}

		if (!class_exists($className)) {
			throw new RuntimeException(sprintf('Could not find path builder "%s"!', $name));
		}

		$pathBuilder = new $className($options);
		if (!$pathBuilder instanceof PathBuilderInterface) {
			throw new RuntimeException(sprintf('Path builder class "%s" does not implement the PathBuilderInterface interface!', $name));
		}

		return $this->_pathBuilder = $pathBuilder;
	}
public function createPathBuilder ( $ name , array $ options = [ ] ) { $ className = App :: className ( $ name , 'Storage/PathBuilder' , 'PathBuilder' ) ; if ( ! class_exists ( $ className ) ) { $ className = App :: className ( 'Burzum/FileStorage.' . $ name , 'Storage/PathBuilder' , 'PathBuilder' ) ; } if ( ! class_exists ( $ className ) ) { throw new RuntimeException ( sprintf ( 'Could not find path builder "%s"!' , $ name ) ) ; } $ pathBuilder = new $ className ( $ options ) ; if ( ! $ pathBuilder instanceof PathBuilderInterface ) { throw new RuntimeException ( sprintf ( 'Path builder class "%s" does not implement the PathBuilderInterface interface!' , $ name ) ) ; } return $ this -> _pathBuilder = $ pathBuilder ; }
Builds the path builder for given interface.

@param string $name
@param array $options
@return \Burzum\FileStorage\Storage\PathBuilder\PathBuilderInterface
Builds the path builder for given interface .