/**
 * Adds to the stack of model paths in LIFO order.
 *
 * @param   mixed   $path    The directory (string), or list of directories (array) to add.
 * @param   string  $prefix  A prefix for models
 *
 * @return  void
 *
 * @since   3.0
 * @deprecated  5.0 See \Joomla\CMS\MVC\Model\LegacyModelLoaderTrait::getInstance
 */
public static function addModelPath($path, $prefix = '')
{
    BaseModel::addIncludePath($path, $prefix);
}