public function getHelper()
	{
		$config = $this->asConfig();
		if (isset($config))
		{
			$config = ConfigHelper::filterConfig($config, 'PHP');
		}
		else
		{
			// Use a dummy config with a regexp that doesn't match anything
			$config = [
				'attrName' => $this->attrName,
				'regexp'   => '/(?!)/',
				'tagName'  => $this->tagName
			];
		}

		return new Helper($config);
	}
public function getHelper()
	{
		$config = $this->asConfig();
		if (isset($config))
		{
			$config = ConfigHelper::filterConfig($config, 'PHP');
		}
		else
		{
			// Use a dummy config with a regexp that doesn't match anything
			$config = [
				'attrName' => $this->attrName,
				'regexp'   => '/(?!)/',
				'tagName'  => $this->tagName
			];
		}

		return new Helper($config);
	}
public function getHelper ( ) { $ config = $ this -> asConfig ( ) ; if ( isset ( $ config ) ) { $ config = ConfigHelper :: filterConfig ( $ config , 'PHP' ) ; } else { // Use a dummy config with a regexp that doesn't match anything $ config = [ 'attrName' => $ this -> attrName , 'regexp' => '/(?!)/' , 'tagName' => $ this -> tagName ] ; } return new Helper ( $ config ) ; }
Return an instance of s9e\TextFormatter\Plugins\Censor\Helper

@return Helper
Return an instance of s9e \ TextFormatter \ Plugins \ Censor \ Helper