if (!filter_var($classId, FILTER_VALIDATE_INT)) {
            $classId = $this->id; 
        }