ManaPHP\Mvc\Model\Manager::setModelSource PHP Метод

setModelSource() публичный Метод

Sets the mapped source for a model
public setModelSource ( ManaPHP\Mvc\ModelInterface | string $model, string $source ) : static
$model ManaPHP\Mvc\ModelInterface | string
$source string
Результат static
    public function setModelSource($model, $source)
    {
        $modelName = is_string($model) ? $model : get_class($model);
        $this->_sources[$modelName] = $source;
        return $this;
    }