public function path(EntityInterface $entity, array $options = []) {
		$config = array_merge($this->getConfig(), $options);
		$path = '';
		$path = $this->_pathPrefix($entity, $path, $config);
		$path = $this->_path($entity, $path, $config);
		$path = $this->_pathSuffix($entity, $path, $config);

		return $this->ensureSlash($path, 'after');
	}
public function path(EntityInterface $entity, array $options = []) {
		$config = array_merge($this->getConfig(), $options);
		$path = '';
		$path = $this->_pathPrefix($entity, $path, $config);
		$path = $this->_path($entity, $path, $config);
		$path = $this->_pathSuffix($entity, $path, $config);

		return $this->ensureSlash($path, 'after');
	}
public function path ( EntityInterface $ entity , array $ options = [ ] ) { $ config = array_merge ( $ this -> getConfig ( ) , $ options ) ; $ path = '' ; $ path = $ this -> _pathPrefix ( $ entity , $ path , $ config ) ; $ path = $ this -> _path ( $ entity , $ path , $ config ) ; $ path = $ this -> _pathSuffix ( $ entity , $ path , $ config ) ; return $ this -> ensureSlash ( $ path , 'after' ) ; }
Builds the path under which the data gets stored in the storage adapter.

@param \Cake\Datasource\EntityInterface $entity
@param array $options
@return string
Builds the path under which the data gets stored in the storage adapter .