public function getAnnotations() { $file = RESOURCE_PATH . 'models_field_info/' . $this->get_class_name() . '.json'; if (!is_file($file)) { return false; } $fjson = file_get_contents($file); return json_decode($fjson); }