src/Asset/AssetFactory.php
public function addPath($namespace, $path, $prepend = false) {
		if($namespace === null) {
			$namespace = '_';
		}
		if(!isset($this->paths[$namespace])) {
			$this->paths[$namespace] = [];
		}
		if($prepend) {
			array_unshift($this->paths[$namespace], $path);
		} else {
			array_push($this->paths[$namespace], $path);
		}
	}
public function addPath($namespace, $path, $prepend = false) {
		if($namespace === null) {
			$namespace = '_';
		}
		if(!isset($this->paths[$namespace])) {
			$this->paths[$namespace] = [];
		}
		if($prepend) {
			array_unshift($this->paths[$namespace], $path);
		} else {
			array_push($this->paths[$namespace], $path);
		}
	}
public function addPath ( $ namespace , $ path , $ prepend = false ) { if ( $ namespace === null ) { $ namespace = '_' ; } if ( ! isset ( $ this -> paths [ $ namespace ] ) ) { $ this -> paths [ $ namespace ] = [ ] ; } if ( $ prepend ) { array_unshift ( $ this -> paths [ $ namespace ] , $ path ) ; } else { array_push ( $ this -> paths [ $ namespace ] , $ path ) ; } }
Register a namespaced path to search for asset files.

@param $namespace
@param $path
@param bool $prepend
Register a namespaced path to search for asset files .