legacy)) { $this->determineStatus(); } return $this->legacy; } /** * Run all compatibility checks. */ function determineStatus() { $this->legacy = array(); foreach(get_class_methods($this) as $method) { if (strtolower(substr($method, 0, 5)) == 'check') { $this->legacy[$method] = $this->$method(); } } $this->legacy = array_filter($this->legacy); } // At this time there are no legacy checks. }