public function getDataSource(string  $source) : Source
	{
		switch ($source) {
			case 'form':
			case 'forms':
				return $this
					->getDataSources()
					->getFormsDataSource();
				break;
			case 'entry':
			case 'entries':
				return $this
					->getDataSources()
					->getEntryDataSource();
				break;
			case 'entryValue':
			case 'entryValues':
				return $this
					->getDataSources()
					->getEntryValuesDataSource();
		}
	}
public function getDataSource(string  $source) : Source
	{
		switch ($source) {
			case 'form':
			case 'forms':
				return $this
					->getDataSources()
					->getFormsDataSource();
				break;
			case 'entry':
			case 'entries':
				return $this
					->getDataSources()
					->getEntryDataSource();
				break;
			case 'entryValue':
			case 'entryValues':
				return $this
					->getDataSources()
					->getEntryValuesDataSource();
		}
	}
public function getDataSource ( string $ source ) : Source { switch ( $ source ) { case 'form' : case 'forms' : return $ this -> getDataSources ( ) -> getFormsDataSource ( ) ; break ; case 'entry' : case 'entries' : return $ this -> getDataSources ( ) -> getEntryDataSource ( ) ; break ; case 'entryValue' : case 'entryValues' : return $ this -> getDataSources ( ) -> getEntryValuesDataSource ( ) ; } }
Get a form, form entry or form entry value data source.

@param string $source

@return Source
Get a form form entry or form entry value data source .