本文整理汇总了PHP中Spoon::setDebugMessage方法的典型用法代码示例。如果您正苦于以下问题:PHP Spoon::setDebugMessage方法的具体用法?PHP Spoon::setDebugMessage怎么用?PHP Spoon::setDebugMessage使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Spoon
的用法示例。
在下文中一共展示了Spoon::setDebugMessage方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: defineForkConstants
/**
* This will disappear in time in favour of container-driven parameters.
* @deprecated
*/
public function defineForkConstants()
{
$container = $this->getContainer();
Spoon::setDebug($container->getParameter('kernel.debug'));
Spoon::setDebugEmail($container->getParameter('fork.debug_email'));
Spoon::setDebugMessage($container->getParameter('fork.debug_message'));
Spoon::setCharset($container->getParameter('kernel.charset'));
/**
* @deprecated SPOON_* constants are deprecated in favor of Spoon::set*().
* Will be removed in the next major release.
*/
defined('SPOON_DEBUG') || define('SPOON_DEBUG', $container->getParameter('kernel.debug'));
defined('SPOON_DEBUG_EMAIL') || define('SPOON_DEBUG_EMAIL', $container->getParameter('fork.debug_email'));
defined('SPOON_DEBUG_MESSAGE') || define('SPOON_DEBUG_MESSAGE', $container->getParameter('fork.debug_message'));
defined('SPOON_CHARSET') || define('SPOON_CHARSET', $container->getParameter('kernel.charset'));
defined('PATH_WWW') || define('PATH_WWW', $container->getParameter('site.path_www'));
defined('PATH_LIBRARY') || define('PATH_LIBRARY', $container->getParameter('site.path_library'));
defined('SITE_DEFAULT_LANGUAGE') || define('SITE_DEFAULT_LANGUAGE', $container->getParameter('site.default_language'));
defined('SITE_DEFAULT_TITLE') || define('SITE_DEFAULT_TITLE', $container->getParameter('site.default_title'));
defined('SITE_MULTILANGUAGE') || define('SITE_MULTILANGUAGE', $container->getParameter('site.multilanguage'));
defined('SITE_DOMAIN') || define('SITE_DOMAIN', $container->getParameter('site.domain'));
defined('SITE_PROTOCOL') || define('SITE_PROTOCOL', $container->getParameter('site.protocol'));
defined('SITE_URL') || define('SITE_URL', SITE_PROTOCOL . '://' . SITE_DOMAIN);
defined('FORK_VERSION') || define('FORK_VERSION', $container->getParameter('fork.version'));
defined('ACTION_GROUP_TAG') || define('ACTION_GROUP_TAG', $container->getParameter('action.group_tag'));
defined('ACTION_RIGHTS_LEVEL') || define('ACTION_RIGHTS_LEVEL', $container->getParameter('action.rights_level'));
}