value = self::STRICT; return $this; } public function setLax(){ $this->value = self::LAX; return $this; } public function setNone(){ $this->value = self::NONE; return $this; } public function getValue() { return $this->value; } /** * * @return $this */ static public function getInstance() { $class = get_called_class(); return \Phacil\Framework\Registry::getAutoInstance((new $class())); } }