/**
* Get the lookup paths for button objects
*
* @return array
*
* @since 4.0.0
* @deprecated 5.0 ToolbarButton classes should be autoloaded
*/
public function getButtonPath() : array
{
@trigger_error(sprintf('Lookup paths for %s objects is deprecated and will be removed in Joomla 5.0.', ToolbarButton::class), E_USER_DEPRECATED);
return $this->_buttonPath;
}