protected static function spawn($fileSystemId, $customConfig = array()) {
	    $customConfig[self::OPTION_FILESYSTEM_ID] = $fileSystemId;
	    $customConfig[self::OPTION_ID] = uniqid();
	    $webSource = new static($customConfig);
	    WebsourceManager::singleton()->addWebsource($webSource);

	    return $webSource;
	}
protected static function spawn($fileSystemId, $customConfig = array()) {
	    $customConfig[self::OPTION_FILESYSTEM_ID] = $fileSystemId;
	    $customConfig[self::OPTION_ID] = uniqid();
	    $webSource = new static($customConfig);
	    WebsourceManager::singleton()->addWebsource($webSource);

	    return $webSource;
	}
protected static function spawn ( $ fileSystemId , $ customConfig = array ( ) ) { $ customConfig [ self :: OPTION_FILESYSTEM_ID ] = $ fileSystemId ; $ customConfig [ self :: OPTION_ID ] = uniqid ( ) ; $ webSource = new static ( $ customConfig ) ; WebsourceManager :: singleton ( ) -> addWebsource ( $ webSource ) ; return $ webSource ; }
Used to instantiate new AccessProviders
@param $fileSystemId
@param array $customConfig
@return BaseWebsource
@throws \common_Exception
Used to instantiate new AccessProviders