/** * Obtains configuration keys from the CLI arguments * * @param tx_crawler_cli_im $cliObj Command line object * @return mixed Array of keys or null if no keys found */ protected function getConfigurationKeys(tx_crawler_cli_im &$cliObj) { $parameter = trim($cliObj->cli_argValue('-conf')); return $parameter != '' ? \TYPO3\CMS\Core\Utility\GeneralUtility::trimExplode(',', $parameter) : array(); }
/** * Obtains configuration keys from the CLI arguments * * @param tx_crawler_cli_im $cliObj Command line object * @return mixed Array of keys or null if no keys found */ protected function getConfigurationKeys(tx_crawler_cli_im &$cliObj) { $parameter = trim($cliObj->cli_argValue('-conf')); return $parameter != '' ? t3lib_div::trimExplode(',', $parameter) : array(); }