lithium\data\model\Query::models()

public method

Return the generated aliases mapped to their corresponding model

Parameters

  • \lithium\data\Source $source

    Instance of the data source to use for conversion.

Returns

array

Map between aliases and their corresponding fully-namespaced model names.

Source

	public function models(Source $source = null) {
		if ($source) {
			$this->applyStrategy($source);
		}
		return $this->_models;
	}