li3

NewsDocumentationVersionsPresentationsCommunityDevelopment
  • Documentation
  • Framework API (1.1.x)
  • lithium
  • core
  • Environment
  • $_detector

Contents

  • ../

lithium\core\Environment::$_detector

protected static property

If Environment::is() is used to assign a custom closure for environment detection, a copy is kept in $_detector. Otherwise, $_detector is null, and the hard-coded detector is used.

Related

  • lithium\core\Environment::_detector()
  • lithium\core\Environment::is()

Source

	protected static $_detector = null;
GitHub / Twitter / Reddit / Stack Overflow
Testimonial Image

I think it's time you started
writing better code.

Pretty much everything is (c) 2009-2025 and beyond, the Union of RAD.