Skip to content

Instantly share code, notes, and snippets.

<?php
/**
* Part of the Joomla Framework Input Package
*
* @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
namespace Joomla\Input;
<?php
class x {
public function countItems(array $items, string $section)
{
$sectionTable = $this->getTableNameForSection($section);
if (!$sectionTable)
{
return;
}