public function setAssetsPath($path) {
		$path = realpath(rtrim($path, DIRECTORY_SEPARATOR));
		
		if ($path === false || ! is_readable($path)) {
			throw new InvalidPath('Path to the assets must exists and be readable');
		}
		
		$this->assetsPath = $path;
	}
public function setAssetsPath($path) {
		$path = realpath(rtrim($path, DIRECTORY_SEPARATOR));
		
		if ($path === false || ! is_readable($path)) {
			throw new InvalidPath('Path to the assets must exists and be readable');
		}
		
		$this->assetsPath = $path;
	}
public function setAssetsPath ( $ path ) { $ path = realpath ( rtrim ( $ path , DIRECTORY_SEPARATOR ) ) ; if ( $ path === false || ! is_readable ( $ path ) ) { throw new InvalidPath ( 'Path to the assets must exists and be readable' ) ; } $ this -> assetsPath = $ path ; }
Set the assets path

@param  string $path
@throws InvalidPath
Set the assets path