debug function for extension development

7. July 2017

0 Kommentare

\TYPO3\CMS\Core\Utility\DebugUtility::debug($varToDebug);

\TYPO3\CMS\Extbase\Utility\DebuggerUtility::var_dump($varToDebug);


use TYPO3\CMS\Extbase\Persistence\Generic\Storage\Typo3DbQueryParser;
$queryParser = $this->objectManager->get(Typo3DbQueryParser::class);
DebuggerUtility::var_dump(
$queryParser->convertQueryToDoctrineQueryBuilder($query)->getSQL()
);

¬ geschrieben von 7masod7 in extensions, TYPO3

Theme von BenediktRB • Powered by Wordpress • Abonniere den RSS Feed