CoreFiles by mySites.guru
Nl.php62 lines, 1,161 bytes, from Joomla_4.0.0-alpha10-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha9
md5
b318c61ad13ab9acadec11834c453afb
sha1
7e763d6aedf872535d8ad15ba49b8af6dcb99c2a
sha256
cd227fe939bd6f8686d445cd76800df8ddb6b3ffb57091d46d93f88507ccedf4
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_finder
 *
 * @copyright   Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\Component\Finder\Administrator\Indexer\Language;

defined('_JEXEC') or die;

use Joomla\Component\Finder\Administrator\Indexer\Language;

/**
 * Dutch language support class for the Finder indexer package.
 *
 * @since  4.0.0
 */
class Nl extends Language
{
	/**
	 * Language locale of the class
	 *
	 * @var    string
	 * @since  4.0.0
	 */
	public $language = 'nl';

	/**
	 * The dutch stemmer object.
	 *
	 * @var    \Wamania\Snowball\Dutch
	 * @since  4.0.0
	 */
	protected $stemmer = null;

	/**
	 * Method to construct the language object.
	 *
	 * @since   4.0.0
	 */
	public function __construct()
	{
		$this->stemmer = new \Wamania\Snowball\Dutch;
	}

	/**
	 * Method to stem a token.
	 *
	 * @param   string  $token  The token to stem.
	 *
	 * @return  string  The stemmed token.
	 *
	 * @since   4.0.0
	 */
	public function stem($token)
	{
		return $this->stemmer->stem($token);
	}
}

The same content is in 4 releases, Joomla 4.0.0-alpha9 to 4.0.0-alpha12. See them all, or every version of this file.